Function gpa::api_types::GetShaderStageIndex
Defined in File api-types/utilities.h
Function Documentation
-
uint32_t gpa::api_types::GetShaderStageIndex(ShaderStageFlagBits shaderStageFlagBit)
Gets the index for a given ShaderStageFlagBits.
Note
The returned index has no significance to any particualr graphics API
Note
The returned index is generally useful for indexing shader related information in arrays based on shader stage
- Returns
The index for the given ShaderStageFlagBits