D3D12_DESCRIPTOR_RANGE_TYPE Enumeration

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      ,
  D3D12_DESCRIPTOR_RANGE_TYPE_UAV      ,
  D3D12_DESCRIPTOR_RANGE_TYPE_CBV      ,
  D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER
} ;

Constants

D3D12_DESCRIPTOR_RANGE_TYPE_SRV 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

   
Header d3d12.h

See Also

Core Enumerations