Skip to main content
Describes a resource memory access barrier. Used by global, texture, and buffer barriers to indicate when resource memory must be made visible for a specific access type.

Syntax

Members

SyncBefore
Type: D3D12_BARRIER_SYNC
Synchronization scope of all preceding GPU work that must be completed before executing the barrier. SyncAfter
Type: D3D12_BARRIER_SYNC
Synchronization scope of all subsequent GPU work that must wait until the barrier execution is finished. AccessBefore
Type: D3D12_BARRIER_ACCESS
Access bits corresponding with any relevant resource usage since the preceding barrier or the start of ExecuteCommandLists scope. AccessAfter
Type: D3D12_BARRIER_ACCESS
Access bits corresponding with any relevant resource usage after the barrier completes.

Remarks

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See Also

Last modified on August 20, 2026