D3D12_ROOT_DESCRIPTOR_TABLE structure (d3d12.h)

Describes the root signature 1.0 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_TABLE {
  UINT                         NumDescriptorRanges;
  const D3D12_DESCRIPTOR_RANGE *pDescriptorRanges;
} D3D12_ROOT_DESCRIPTOR_TABLE;

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_TABLE is the data type of the DescriptorTable member of D3D12_ROOT_PARAMETER. Use a D3D12_ROOT_DESCRIPTOR_TABLE when you set D3D12_ROOT_PARAMETER's ParameterType member to D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE.

Requirements

Requirement Value
Header d3d12.h

See also

CD3DX12_ROOT_DESCRIPTOR_TABLE

Core Structures

D3D12_ROOT_DESCRIPTOR_TABLE1