GlobalShaderParameterType

    RenderingServer.swift:1955
    enum GlobalShaderParameterType

    Cases

    • case bool

      Boolean global shader parameter (global uniform bool ...).

    • case bvec2

      2-dimensional boolean vector global shader parameter (global uniform bvec2 ...).

    • case bvec3

      3-dimensional boolean vector global shader parameter (global uniform bvec3 ...).

    • case bvec4

      4-dimensional boolean vector global shader parameter (global uniform bvec4 ...).

    • case int

      Integer global shader parameter (global uniform int ...).

    • case ivec2

      2-dimensional integer vector global shader parameter (global uniform ivec2 ...).

    • case ivec3

      3-dimensional integer vector global shader parameter (global uniform ivec3 ...).

    • case ivec4

      4-dimensional integer vector global shader parameter (global uniform ivec4 ...).

    • case rect2i

      2-dimensional integer rectangle global shader parameter (global uniform ivec4 ...). Equivalent to .globalVarTypeIvec4 in shader code, but exposed as a Rect2i in the editor UI.

    • case uint

      Unsigned integer global shader parameter (global uniform uint ...).

    • case uvec2

      2-dimensional unsigned integer vector global shader parameter (global uniform uvec2 ...).

    • case uvec3

      3-dimensional unsigned integer vector global shader parameter (global uniform uvec3 ...).

    • case uvec4

      4-dimensional unsigned integer vector global shader parameter (global uniform uvec4 ...).

    • case float

      Single-precision floating-point global shader parameter (global uniform float ...).

    • case vec2

      2-dimensional floating-point vector global shader parameter (global uniform vec2 ...).

    • case vec3

      3-dimensional floating-point vector global shader parameter (global uniform vec3 ...).

    • case vec4

      4-dimensional floating-point vector global shader parameter (global uniform vec4 ...).

    • case color

      Color global shader parameter (global uniform vec4 ...). Equivalent to .globalVarTypeVec4 in shader code, but exposed as a Color in the editor UI.

    • case rect2

      2-dimensional floating-point rectangle global shader parameter (global uniform vec4 ...). Equivalent to .globalVarTypeVec4 in shader code, but exposed as a Rect2 in the editor UI.

    • case mat2

      2×2 matrix global shader parameter (global uniform mat2 ...). Exposed as a PackedInt32Array in the editor UI.

    • case mat3

      3×3 matrix global shader parameter (global uniform mat3 ...). Exposed as a Basis in the editor UI.

    • case mat4

      4×4 matrix global shader parameter (global uniform mat4 ...). Exposed as a Projection in the editor UI.

    • case transform2d

      2-dimensional transform global shader parameter (global uniform mat2x3 ...). Exposed as a Transform2D in the editor UI.

    • case transform

      3-dimensional transform global shader parameter (global uniform mat3x4 ...). Exposed as a Transform3D in the editor UI.

    • case sampler2d

      2D sampler global shader parameter (global uniform sampler2D ...). Exposed as a Texture2D in the editor UI.

    • case sampler2darray

      2D sampler array global shader parameter (global uniform sampler2DArray ...). Exposed as a Texture2DArray in the editor UI.

    • case sampler3d

      3D sampler global shader parameter (global uniform sampler3D ...). Exposed as a Texture3D in the editor UI.

    • case samplercube

      Cubemap sampler global shader parameter (global uniform samplerCube ...). Exposed as a Cubemap in the editor UI.

    • case max

      Represents the size of the GlobalShaderParameterType enum.

    Other members in extension

    View members

    Hide members

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

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features