D3D12_DESCRIPTOR_HEAP_TYPE Enumeration

Specifies a type of descriptor heap.

Syntax

typedef enum D3D12_DESCRIPTOR_HEAP_TYPE {
  D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
  D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER,
  D3D12_DESCRIPTOR_HEAP_TYPE_RTV,
  D3D12_DESCRIPTOR_HEAP_TYPE_DSV,
  D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES
} ;

Constants

D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV The descriptor heap for the combination of constant-buffer, shader-resource, and unordered-access views.
D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER The descriptor heap for the sampler.
D3D12_DESCRIPTOR_HEAP_TYPE_RTV The descriptor heap for the render-target view.
D3D12_DESCRIPTOR_HEAP_TYPE_DSV The descriptor heap for the depth-stencil view.
D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES The number of types of descriptor heaps.

Remarks

This enum is used by the D3D12_DESCRIPTOR_HEAP_DESC structure, and the following methods:

Requirements

   
Header d3d12.h

See Also

Core Enumerations

Creating Descriptor Heaps

Descriptor Heaps