ID3D12CommandQueue::GetLastCompletedFence method
[This documentation is preliminary and is subject to change.]
Returns the last frame fence completed value.
Syntax
UINT64 GetLastCompletedFence();
Parameters
This method has no parameters.
Return value
The last frame fence completed value.
Remarks
On creation of the graphics device, GetLastCompletedFence returns 0.
If the application submitted multiple frames, continuously polling this method would reveal a value that incremented over time. Once a frame fence value is returned from GetLastCompletedFence, memory read or written to during the frame is now available to be reclaimed or consumed.
This method can be called by multiple threads concurrently.