D3D12DDI_BUFFER_BARRIER_0088 structure (d3d12umddi.h)

Important

Some information relates to a prerelease product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

A D3D12DDI_BUFFER_BARRIER_0088 structure describes access transitions for buffers.

Syntax

typedef struct D3D12DDI_BUFFER_BARRIER_0088 {
  D3D12DDI_BARRIER_SYNC   SyncBefore;
  D3D12DDI_BARRIER_SYNC   SyncAfter;
  D3D12DDI_BARRIER_ACCESS AccessBefore;
  D3D12DDI_BARRIER_ACCESS AccessAfter;
  D3D12DDI_HRESOURCE      hResource;
} D3D12DDI_BUFFER_BARRIER_0088;

Members

SyncBefore

A D3D12DDI_BARRIER_SYNC value that specifies the synchronization scope of all preceding GPU work that must be completed before executing the barrier.

SyncAfter

A D3D12DDI_BARRIER_SYNC value that specifies the synchronization scope of all subsequent GPU work that must wait until the barrier execution is finished.

AccessBefore

A D3D12DDI_BARRIER_ACCESS value that specifies the access state of the buffer preceding the barrier execution.

AccessAfter

A D3D12DDI_BARRIER_ACCESS value that specifies the access state of the buffer upon completion of barrier execution.

hResource

The handle of the buffer resource using the barrier.

Remarks

See Enhanced Barriers for general information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3d12umddi.h

See also

D3D12DDI_BARRIER_ACCESS

D3D12DDI_BARRIER_SYNC

D3D12DDIARG_BARRIER_0088

PFND3D12DDI_BARRIER_0088