D3D12_ROOT_PARAMETER_TYPE enumeration (d3d12.h)
Specifies the type of root signature slot.
Syntax
typedef enum D3D12_ROOT_PARAMETER_TYPE {
D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE = 0,
D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS,
D3D12_ROOT_PARAMETER_TYPE_CBV,
D3D12_ROOT_PARAMETER_TYPE_SRV,
D3D12_ROOT_PARAMETER_TYPE_UAV
} ;
Constants
D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE Value: 0 The slot is for a descriptor table. |
D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS The slot is for root constants. |
D3D12_ROOT_PARAMETER_TYPE_CBV The slot is for a constant-buffer view (CBV). |
D3D12_ROOT_PARAMETER_TYPE_SRV The slot is for a shader-resource view (SRV). |
D3D12_ROOT_PARAMETER_TYPE_UAV The slot is for a unordered-access view (UAV). |
Remarks
This enum is used by the D3D12_ROOT_PARAMETER structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |