Checks whether the specified fence is pending. This is a free-threaded method to check the status of any fence using the CPU.
public:
BOOL IsFencePending(
UINT64 Fence
)
Fence
Type: UINT64
[in] The ID of the fence to check.
Type: BOOL
true if the fence is pending; otherwise, false.
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.