// d3d12umddi.h
typedef enum D3D12DDI_BARRIER_TYPE {
D3D12DDI_BARRIER_TYPE_GLOBAL,
D3D12DDI_BARRIER_TYPE_TEXTURE,
D3D12DDI_BARRIER_TYPE_BUFFER,
D3D12DDI_BARRIER_TYPE_RANGED
} ;
View the official Windows Driver Kit DDI referenceNo description available.
A D3D12DDI_BARRIER_TYPE enumeration value indicates the type of resource barrier.
D3D12DDI_BARRIER_TYPE_GLOBALThe barrier is a global barrier. A global barrier applies to all resource memory. Global barriers do not transition texture layouts or force any data decompression.
D3D12DDI_BARRIER_TYPE_TEXTUREThe barrier is a texture barrier. A texture barrier applies to a specific range of texture subresources.
D3D12DDI_BARRIER_TYPE_BUFFERThe barrier is a buffer barrier. A buffer barrier applies to a specific buffer resource.
D3D12DDI_BARRIER_TYPE_RANGEDThe buffer is a ranged barrier. A ranged barrier replaces the legacy D3D12DDI_RESOURCE_RANGED_BARRIER_0022.
See Enhanced Barriers for general information.