D3D12GetFlushFromResourceBarrierActionsX

Masks off compression-related activity from the specified resource barrier actions and converts it to a set of flushes that can be passed to the ID3D12GraphicsCommandList::FlushPipelineX method.

Syntax

D3D12XBOX_FLUSH D3D12GetFlushFromResourceBarrierActionsX(
         D3D12XBOX_RESOURCE_BARRIER_ACTIONS Actions
)  

Parameters

Actions
Type: D3D12XBOX_RESOURCE_BARRIER_ACTIONS 

Bitwise-OR combination of D3D12XBOX_RESOURCE_BARRIER_ACTIONS values to mask and convert.

Return value

Type: D3D12XBOX_FLUSH 

Returns a bitwise-OR combination of D3D12XBOX_FLUSH values that can be passed to the FlushPipelineX method.

Requirements

Header: Declared in d3d12_x.h.

Library: Use d3d12_x.lib.