Syntax
Members
pResourceType: ID3D12Resource * A pointer to the ID3D12Resource object that represents the resource used in the transition. Subresource
Type: UINT The index of the subresource for the transition. Use the D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES flag ( 0xffffffff ) to transition all subresources in a resource at the same time. StateBefore
Type: D3D12_RESOURCE_STATES The “before” usages of the subresources, as a bitwise-OR’d combination of D3D12_RESOURCE_STATES enumeration constants. StateAfter
Type: D3D12_RESOURCE_STATES The “after” usages of the subresources, as a bitwise-OR’d combination of D3D12_RESOURCE_STATES enumeration constants.
Remarks
This struct is used by the Transition member of the D3D12_RESOURCE_BARRIER struct.Requirements
Header: d3d12_xs.h or d3d12_x.hLibrary: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family
