ShaderStage

    RenderingDevice.swift:1557
    enum ShaderStage

    Cases

    • case vertex

      Vertex shader stage. This can be used to manipulate vertices from a shader (but not create new vertices).

    • case fragment

      Fragment shader stage (called “pixel shader” in Direct3D). This can be used to manipulate pixels from a shader.

    • case tesselationControl

      Tessellation control shader stage. This can be used to create additional geometry from a shader.

    • case tesselationEvaluation

      Tessellation evaluation shader stage. This can be used to create additional geometry from a shader.

    • case compute

      Compute shader stage. This can be used to run arbitrary computing tasks in a shader, performing them on the GPU instead of the CPU.

    • case max

      Represents the size of the ShaderStage enum.

    • case tesselationEvaluationBit

      Vertex shader stage bit (see also .vertex). Fragment shader stage bit (see also .fragment). Tessellation control shader stage bit (see also .tesselationControl). Tessellation evaluation shader stage bit (see also .tesselationEvaluation).

    • case computeBit

      Compute shader stage bit (see also .compute).

    Other members in extension

    View members

    Hide members

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

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features