Values

Scalar

Floating-point scalar. Translated to float type in shader code.

Vector

3D vector of floating-point values. Translated to vec3 type in shader code.

Boolean

Boolean type. Translated to bool type in shader code.

Transform

Transform type. Translated to mat4 type in shader code.

Sampler

Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes.

Max

Represents the size of the godot.VisualShaderNode_PortType enum.