// d3d12umddi.h
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
} ;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_HEAP_FLAGS enumeration specifies Direct3D 12 heap options.
D3D12DDI_HEAP_FLAG_NONE:0x0No flags.
D3D12DDI_HEAP_FLAG_NON_RT_DS_TEXTURES:0x2The heap supports resources allocated for other than Render Target (RT) and Depth-Stencil (DS) textures.
D3D12DDI_HEAP_FLAG_BUFFERS:0x4The heap supports resources allocated for buffers.
D3D12DDI_HEAP_FLAG_COHERENT_SYSTEMWIDE:0x8The heap supports resources allocated for coherent system wide.
D3D12DDI_HEAP_FLAG_PRIMARY:0x10The heap supports resources allocated for primary.
D3D12DDI_HEAP_FLAG_RT_DS_TEXTURES:0x20The heap supports resources allocated for RT and DS textures.
D3D12DDI_HEAP_FLAG_0041_DENY_L0_DEMOTION:0x40Supports transparent demotion to system memory by restricting the supported memory segments for the heap.