Condividi tramite


enumerazione D3D12DDI_HEAP_FLAGS (d3d12umddi.h)

L'enumerazione D3D12DDI_HEAP_FLAGS specifica le opzioni dell'heap direct3D 12.

Sintassi

typedef enum D3D12DDI_HEAP_FLAGS {
  D3D12DDI_HEAP_FLAG_NONE = 0x0,
  D3D12DDI_HEAP_FLAG_NON_RT_DS_TEXTURES = 0x2,
  D3D12DDI_HEAP_FLAG_BUFFERS = 0x4,
  D3D12DDI_HEAP_FLAG_COHERENT_SYSTEMWIDE = 0x8,
  D3D12DDI_HEAP_FLAG_PRIMARY = 0x10,
  D3D12DDI_HEAP_FLAG_RT_DS_TEXTURES = 0x20,
  D3D12DDI_HEAP_FLAG_0041_DENY_L0_DEMOTION = 0x40
} ;

Costanti

 
D3D12DDI_HEAP_FLAG_NONE
Valore: 0x0
Nessun flag.
D3D12DDI_HEAP_FLAG_NON_RT_DS_TEXTURES
Valore: 0x2
L'heap supporta le risorse allocate per trame diverse da Destinazione di rendering (RT) e Depth-Stencil (DS).
D3D12DDI_HEAP_FLAG_BUFFERS
Valore: 0x4
L'heap supporta le risorse allocate per i buffer.
D3D12DDI_HEAP_FLAG_COHERENT_SYSTEMWIDE
Valore: 0x8
L'heap supporta le risorse allocate a livello di sistema coerente.
D3D12DDI_HEAP_FLAG_PRIMARY
Valore: 0x10
L'heap supporta le risorse allocate per il database primario.
D3D12DDI_HEAP_FLAG_RT_DS_TEXTURES
Valore: 0x20
L'heap supporta le risorse allocate per le trame RT e DS.
D3D12DDI_HEAP_FLAG_0041_DENY_L0_DEMOTION
Valore: 0x40
Supporta l'abbassamento di livello trasparente alla memoria di sistema limitando i segmenti di memoria supportati per l'heap.

Fabbisogno

Requisito Valore
intestazione d3d12umddi.h (include D3d12umddi.h)

Vedere anche

D3D12DDIARG_CREATEHEAP_0001