Home -> IShaderProgram -> ShaderStage

Description

The ShaderStage enumeration identifies the shader pipeline stage being loaded into an IShaderProgram. It is supplied to LoadShaderStage.

Members

Name Description
Public Enum Vertex
Selects the vertex shader stage, which consumes vertex attributes and produces per-vertex outputs for later graphics pipeline stages.
Public Enum Fragment
Selects the fragment shader stage, which computes color and other per-fragment outputs during rasterization.
Public Enum Geometry
Selects the optional geometry shader stage, which consumes primitives from the vertex stage and emits new primitives before rasterization. This requires the GeometryShaders device feature.
Public Enum Compute
Selects the optional compute shader stage, which is dispatched as a compute task rather than as part of a graphics draw pipeline. This requires the ComputeShaders device feature.

See also