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.
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_TABLEValue: 0 The slot is for a descriptor table. |
D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTSThe slot is for root constants. |
D3D12_ROOT_PARAMETER_TYPE_CBVThe slot is for a constant-buffer view (CBV). |
D3D12_ROOT_PARAMETER_TYPE_SRVThe slot is for a shader-resource view (SRV). |
D3D12_ROOT_PARAMETER_TYPE_UAVThe 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 |