D3D12_ROOT_DESCRIPTOR_TABLE1 structure (d3d12.h)

Describes the root signature 1.1 layout of a descriptor table as a collection of descriptor ranges that are all relative to a single base descriptor handle.

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_TABLE1 is the data type of the DescriptorTable member 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

Requirement Value
Header d3d12.h

See also

Core Structures

D3D12_ROOT_DESCRIPTOR_TABLE

Root Signature Version 1.1