Click or drag to resize

VisualShaderNodePortType Enumeration

[Missing <summary> documentation for "T:Godot.VisualShaderNode.PortType"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum PortType
Members
  Member nameValueDescription
Scalar0

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

Vector1

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

Boolean2

Boolean type. Translated to bool type in shader code.

Transform3

Transform type. Translated to mat4 type in shader code.

Sampler4

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

Max5

Represents the size of the VisualShaderNodePortType enum.

See Also