D3D12_ROOT_DESCRIPTOR_TABLE structure

Describes the root signature 1.0 layout of a descriptor table as a collection of descriptor ranges that appear one after the other in a descriptor heap.

Syntax

typedef struct D3D12_ROOT_DESCRIPTOR_TABLE {
  UINT                         NumDescriptorRanges;
  const D3D12_DESCRIPTOR_RANGE *pDescriptorRanges;
};

Members

NumDescriptorRanges

The number of descriptor ranges in the table layout.

pDescriptorRanges

An array of D3D12_DESCRIPTOR_RANGE structures that describe the descriptor ranges.

Remarks

Samplers are not allowed in the same descriptor table as constant-buffer views (CBVs), unordered-access views (UAVs), and shader-resource views (SRVs).

D3D12_ROOT_DESCRIPTOR_TABLEis the data type of the DescriptorTablemember of D3D12_ROOT_PARAMETER. Use a D3D12_ROOT_DESCRIPTOR_TABLE when you set D3D12_ROOT_PARAMETER's SlotType member to D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE.

Requirements

   
Header d3d12.h

See Also

CD3DX12_ROOT_DESCRIPTOR_TABLE

Core Structures

D3D12_ROOT_DESCRIPTOR_TABLE1