D3D12_ROOT_PARAMETER_TYPE Enumeration

Specifies the type of root signature slot.

Syntax

typedef enum D3D12_ROOT_PARAMETER_TYPE {
  D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE  ,
  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 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

   
Header d3d12.h

See Also

Core Enumerations

Creating a Root Signature