ID3D12CommandQueue::SetEventOnFenceCompletion method

[This documentation is preliminary and is subject to change.]

Sets the specified event object to the signaled state when the frame associated with the specified fence value completes.

Syntax

HRESULT SetEventOnFenceCompletion(
  UINT64 Value,
  HANDLE hEvent
);

Parameters

  • Value
    The fence value for which the event should be signaled when the associated frame completes.

  • hEvent
    A handle to the event object.

Return value

This method will return E_OUTOFMEMORY if the kernel components don’t have sufficient memory to store the event in a list.

Remarks

Calling SetEventOnFenceCompletion for frames in the future is supported.

SetEventOnFenceCompletion can be called by multiple threads concurrently.

See also

ID3D12CommandQueue