enumerazione D3D12_DESCRIPTOR_HEAP_TYPE (d3d12.h)

Specifica un tipo di heap del descrittore.

Sintassi

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
} ;

Costanti

 
D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV
Valore: 0
Heap del descrittore per la combinazione di viste constant-buffer, shader-resource e non ordinate.
D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER
Heap del descrittore per il campionatore.
D3D12_DESCRIPTOR_HEAP_TYPE_RTV
Heap del descrittore per la visualizzazione di destinazione di rendering.
D3D12_DESCRIPTOR_HEAP_TYPE_DSV
Heap del descrittore per la visualizzazione depth-stencil.
D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES
Numero di tipi di heap del descrittore.

Commenti

Questa enumerazione viene utilizzata dalla struttura D3D12_DESCRIPTOR_HEAP_DESC e dai metodi seguenti:

Requisiti

Requisito Valore
Intestazione d3d12.h

Vedi anche

Enumerazioni principali

Creazione di heap del descrittore

Heap descrittore