D3D12_DESCRIPTOR_RANGE_TYPE enumeration (d3d12.h)

Specifies a range so that, for example, if part of a descriptor table has 100 shader-resource views (SRVs) that range can be declared in one entry rather than 100.

Syntax

typedef enum D3D12_DESCRIPTOR_RANGE_TYPE {
  D3D12_DESCRIPTOR_RANGE_TYPE_SRV = 0,
  D3D12_DESCRIPTOR_RANGE_TYPE_UAV,
  D3D12_DESCRIPTOR_RANGE_TYPE_CBV,
  D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER
} ;

Constants

 
D3D12_DESCRIPTOR_RANGE_TYPE_SRV
Value: 0
Specifies a range of SRVs.
D3D12_DESCRIPTOR_RANGE_TYPE_UAV
Specifies a range of unordered-access views (UAVs).
D3D12_DESCRIPTOR_RANGE_TYPE_CBV
Specifies a range of constant-buffer views (CBVs).
D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER
Specifies a range of samplers.

Remarks

This enum is used by the D3D12_DESCRIPTOR_RANGE structure.

Requirements

Requirement Value
Header d3d12.h

See also

Core Enumerations