PortType

    VisualShaderNode.swift:19
    enum PortType

    Cases

    • case scalar

      Floating-point scalar. Translated to [code skip-lint]float` type in shader code.

    • case scalarInt

      Integer scalar. Translated to [code skip-lint]int` type in shader code.

    • case scalarUint

      Unsigned integer scalar. Translated to [code skip-lint]uint` type in shader code.

    • case vector2d

      2D vector of floating-point values. Translated to [code skip-lint]vec2` type in shader code.

    • case vector3d

      3D vector of floating-point values. Translated to [code skip-lint]vec3` type in shader code.

    • case vector4d

      4D vector of floating-point values. Translated to [code skip-lint]vec4` type in shader code.

    • case boolean

      Boolean type. Translated to [code skip-lint]bool` type in shader code.

    • case transform

      Transform type. Translated to [code skip-lint]mat4` type in shader code.

    • case sampler

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

    • case max

      Represents the size of the PortType enum.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (9) members.

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features