Struct PipelineConstantRange
Defined in File pipeline-signature-info.h
Struct Documentation
-
struct PipelineConstantRange
Graphics API agnostic information for constant input data for shaders.
Note
For D3D12 this object represents a D3D12_ROOT_PARAMETER containing a D3D12_ROOT_CONSTANTS type. For Vulkan this object represents a VkPushConstantRange
Public Members
-
uint32_t size = {0}
The size of this range of pipeline constants.
-
uint32_t offset = {0}
The offset of this range pipeline constants.
Note
Only used with Vulkan
-
uint32_t shaderRegister = {0}
The shader register where this pipeline constant will be stored.
Note
Only used with D3D12
-
uint32_t registerSpace = {0}
The register space where the pipeline constant will be stored.
Note
Only used with D3D12
-
uint32_t parameterIndex = {0}
The index of root parameter that describes this constant.
Note
Only used with D3D12
-
api_types::ShaderStageFlags shaderStageVisibility = {api_types::GPA_SHADER_STAGE_UNKNOWN}
Specifies which shader stage has access to this constant.
-
uint32_t size = {0}