ID3D11DmaEngineContextX::InsertFence Method

Inserts a fence into a DMA engine.

Syntax

public:
UINT64 InsertFence(
         UINT Flags
)  

Parameters

Flags
Type: UINT 

Flags to control inserting the fence, as D3D11_INSERT_FENCE_FLAGS enumeration constants. This parameter is present in Xbox One, not other Windows platforms.

Return value

Type: UINT64 

The driver-generated ID of the fence. This ID is used when quering the state of the fence.

Remarks

Refer to the fences and synchronization sections of Optimizing Monolithic Driver Performance for more details.

Requirements

Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

Reference

ID3D11DmaEngineContextX Interface

ID3D11DmaEngineContextX Members