Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 |