D3D12_ROOT_DESCRIPTOR structure (d3d12.h)
Describes descriptors inline in the root signature version 1.0 that appear in shaders.
Syntax
typedef struct D3D12_ROOT_DESCRIPTOR {
UINT ShaderRegister;
UINT RegisterSpace;
} D3D12_ROOT_DESCRIPTOR;
Members
ShaderRegister
The shader register.
RegisterSpace
The register space.
Remarks
D3D12_ROOT_DESCRIPTOR is the data type of the Descriptor member of D3D12_ROOT_PARAMETER. Use a D3D12_ROOT_DESCRIPTOR when you set D3D12_ROOT_PARAMETER's ParameterType field to the D3D12_ROOT_PARAMETER_TYPE_CBV, D3D12_ROOT_PARAMETER_TYPE_SRV, or D3D12_ROOT_PARAMETER_TYPE_UAV members of D3D12_ROOT_PARAMETER_TYPE.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for