Inserts a fence into a DMA engine.
public:
UINT64 InsertFence(
UINT Flags
)
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.
Type: UINT64
The driver-generated ID of the fence. This ID is used when quering the state of the fence.
Refer to the fences and synchronization sections of Optimizing Monolithic Driver Performance for more details.
Header: Declared in d3d11_x.h (d3d11_1.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).