Inserts a fence on an asynchronous compute context.
public:
UINT64 InsertFence(
UINT Flags
)
Flags
Type: UINT
[in] Flags to control inserting a fence, as D3D11_INSERT_FENCE_FLAGS enumeration constants.
Type: UINT64
The driver-generated ID of the fence. This ID is used when quering the state of the fence.
This method is only supported for the immediate context, and will not work with a deferred context.
Refer to the fences and synchronization sections of Optimizing Monolithic Driver Performance for more details.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.
Xbox Hang Investigation Tool (XHIT)