D3D12_RESOURCE_BARRIER_FLAGS Enumeration

Flags for setting split resource barriers.

Syntax

typedef enum D3D12_RESOURCE_BARRIER_FLAGS {
  D3D12_RESOURCE_BARRIER_FLAG_NONE,
  D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY,
  D3D12_RESOURCE_BARRIER_FLAG_END_ONLY
} ;

Constants

D3D12_RESOURCE_BARRIER_FLAG_NONE No flags.
D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY This starts a barrier transition in a new state, putting a resource in a temporary no-access condition.
D3D12_RESOURCE_BARRIER_FLAG_END_ONLY This barrier completes a transition, setting a new state and restoring active access to a resource.

Remarks

Split barriers allow a single transition to be split into begin and end halves (refer to Synchronization and Multi-Engine).

This enum is used by the Flags member of the D3D12_RESOURCE_BARRIERstructure.

Requirements

   
Header d3d12.h

See Also

Core Enumerations

ResourceBarrier

Using Resource Barriers to Synchronize Resource States in Direct3D 12