VisualShaderNodePortType Enumeration |
[Missing <summary> documentation for "T:Godot.VisualShaderNode.PortType"]
Namespace: Godot
public enum PortType
Member name | Value | Description | |
---|---|---|---|
Scalar | 0 | Floating-point scalar. Translated to float type in shader code. | |
Vector | 1 | 3D vector of floating-point values. Translated to vec3 type in shader code. | |
Boolean | 2 | Boolean type. Translated to bool type in shader code. | |
Transform | 3 | Transform type. Translated to mat4 type in shader code. | |
Sampler | 4 | Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes. | |
Max | 5 | Represents the size of the VisualShaderNodePortType enum. |