D3D12DDIARG_BARRIER_0094 structure (d3d12umddi.h)

The D3D12DDIARG_BARRIER_0094 structure contains the enhanced barrier parameters for the PFND3D12DDI_BARRIER_0094 callback function.

Syntax

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;

Members

Type

A D3D12DDI_BARRIER_TYPE value that identifies the type of enhanced barrier. This member determines which barrier type to use in the union below.

GlobalBarrier

A D3D12DDI_GLOBAL_BARRIER_0088 structure that describes the global barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_GLOBAL.

TextureBarrier

A D3D12DDI_TEXTURE_BARRIER_0088 structure that describes a texture barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_TEXTURE.

BufferBarrier

A D3D12DDI_BUFFER_BARRIER_0088 structure that describes a buffer barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_BUFFER.

RangedBarrier

A D3D12DDI_RANGED_BARRIER_0094 structure that describes a resource ranged barrier. Use this structure when Type is D3D12DDI_BARRIER_TYPE_RANGED.

Remarks

See Enhanced Barriers for general information.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header d3d12umddi.h

See also

PFND3D12DDI_BARRIER_0094