Skip to main content
Describes the transition between usages of two different resources that have mappings into the same heap.

Syntax

Members

pResourceBefore
Type: ID3D12Resource *
A pointer to the ID3D12Resource object that represents the before resource used in the transition. pResourceAfter
Type: ID3D12Resource *
A pointer to the ID3D12Resource object that represents the after resource used in the transition.

Remarks

This structure is a member of the D3D12_RESOURCE_BARRIER structure. Both the before and the after resources can be specified or one or both resources can be NULL, which indicates that any placed or reserved resource could cause aliasing. Refer to the usage models described in CreatePlacedResource.

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