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_UAVValue: 0 The descriptor heap for the combination of constant-buffer, shader-resource, and unordered-access views. |
D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLERThe descriptor heap for the sampler. |
D3D12_DESCRIPTOR_HEAP_TYPE_RTVThe descriptor heap for the render-target view. |
D3D12_DESCRIPTOR_HEAP_TYPE_DSVThe descriptor heap for the depth-stencil view. |
D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPESThe 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 |