Enum VisualShaderNode.PortType
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum VisualShaderNode.PortType : long
Fields
Boolean = 6Boolean type. Translated to
booltype in shader code.Max = 9Represents the size of the VisualShaderNode.PortType enum.
Sampler = 8Sampler type. Translated to reference of sampler uniform in shader code. Can only be used for input ports in non-uniform nodes.
Scalar = 0Floating-point scalar. Translated to
floattype in shader code.ScalarInt = 1Integer scalar. Translated to
inttype in shader code.ScalarUint = 2Unsigned integer scalar. Translated to
uinttype in shader code.Transform = 7Transform type. Translated to
mat4type in shader code.Vector2D = 32D vector of floating-point values. Translated to
vec2type in shader code.Vector3D = 43D vector of floating-point values. Translated to
vec3type in shader code.Vector4D = 54D vector of floating-point values. Translated to
vec4type in shader code.