D3D12_ROOT_DESCRIPTOR_TABLE1 structure

Describes the root signature 1.1 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_TABLE1 {
  UINT                          NumDescriptorRanges;
  const D3D12_DESCRIPTOR_RANGE1 *pDescriptorRanges;
} D3D12_ROOT_DESCRIPTOR_TABLE1;

Members

NumDescriptorRanges

The number of descriptor ranges in the table layout.

pDescriptorRanges

An array of D3D12_DESCRIPTOR_RANGE1 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_TABLE1is the data type of the DescriptorTablemember of D3D12_ROOT_PARAMETER1. Use a D3D12_ROOT_DESCRIPTOR_TABLE1 when you set D3D12_ROOT_PARAMETER1's SlotType member to D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE.

Refer to the helper structure CD3DX12_ROOT_DESCRIPTOR_TABLE1.

Requirements

   
Header d3d12.h

See Also

Core Structures

D3D12_ROOT_DESCRIPTOR_TABLE

Root Signature Version 1.1