MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / Wait

Method Wait

SampleFramework12/v1.00/Graphics/GraphicsTypes.cpp:921–929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

919}
920
921void Fence::Wait(uint64 fenceValue)
922{
923 Assert_(D3DFence != nullptr);
924 if(D3DFence->GetCompletedValue() < fenceValue)
925 {
926 DXCall(D3DFence->SetEventOnCompletion(fenceValue, FenceEvent));
927 WaitForSingleObject(FenceEvent, INFINITE);
928 }
929}
930
931
932bool Fence::Signaled(uint64 fenceValue)

Callers 5

EndFrameFunction · 0.80
FlushGPUFunction · 0.80
ClearFinishedUploadsFunction · 0.80
EndFrame_UploadFunction · 0.80

Calls 1

DXCallFunction · 0.85

Tested by

no test coverage detected