Enum ShaderStage

Describes the shader stages that a binding will be visible from.

enum ShaderStage : __C.WGPUShaderStage { ... }

These can be combined in a bitwise combination.

For example, something that is visible from both vertex and fragment shaders can be defined as:

ShaderStage.vertex | ShaderStage.fragment

Enum members

NameDescription
compute
fragment
none
vertex

See Also

wgpu::ShaderStages