// d3d12umddi.h
typedef struct D3D12DDIARG_BARRIER_0094 {
D3D12DDI_BARRIER_TYPE Type;
union {
D3D12DDI_GLOBAL_BARRIER_0088 GlobalBarrier;
D3D12DDI_TEXTURE_BARRIER_0088 TextureBarrier;
D3D12DDI_BUFFER_BARRIER_0088 BufferBarrier;
D3D12DDI_RANGED_BARRIER_0094 RangedBarrier;
};
} D3D12DDIARG_BARRIER_0094;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDIARG_BARRIER_0094 structure contains the enhanced barrier parameters for the PFND3D12DDI_BARRIER_0094 callback function.
TypeA D3D12DDI_BARRIER_TYPE value that identifies the type of enhanced barrier. This member determines which barrier type to use in the union below.
GlobalBarrierA D3D12DDI_GLOBAL_BARRIER_0088 structure that describes the global barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_GLOBAL.
TextureBarrierA D3D12DDI_TEXTURE_BARRIER_0088 structure that describes a texture barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_TEXTURE.
BufferBarrierA D3D12DDI_BUFFER_BARRIER_0088 structure that describes a buffer barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_BUFFER.
RangedBarrierA D3D12DDI_RANGED_BARRIER_0094 structure that describes a resource ranged barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_RANGED.
See Enhanced Barriers for general information.