D3D12_DESCRIPTOR_HEAP_TYPE enumeration (d3d12.h)
Specifies a type of descriptor heap.
Syntax
typedef enum D3D12_DESCRIPTOR_HEAP_TYPE {
D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV = 0,
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 Value: 0 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
Requirement | Value |
---|---|
Header | d3d12.h |