Skip to main content
Represents a resource in which all UAV accesses must complete before any future UAV accesses can begin.

Syntax

Members

pResource
Type: ID3D12Resource *
The resource used in the transition, as a pointer to ID3D12Resource.

Remarks

This struct represents a resource in which all unordered access view (UAV) accesses (reads or writes) must complete before any future UAV accesses (read or write) can begin. This structure is a member of the D3D12_RESOURCE_BARRIER structure. You don’t need to insert a UAV barrier between 2 draw or dispatch calls that only read a UAV. Additionally, you don’t need to insert a UAV barrier between 2 draw or dispatch calls that write to the same UAV if you know that it’s safe to execute the UAV accesses in any order. The resource can be NULL, which indicates that any UAV access could require the barrier.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Core Structures Using Resource Barriers to Synchronize Resource States in Direct3D 12
Last modified on August 20, 2026