MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Wait

Method Wait

Source/Engine/GraphicsDevice/Vulkan/CmdBufferVulkan.cpp:139–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137#endif
138
139void CmdBufferVulkan::Wait(float timeoutSeconds)
140{
141 if (!IsSubmitted())
142 return;
143 PROFILE_CPU();
144 const bool failed = _device->FenceManager.WaitForFence(GetFence(), timeoutSeconds);
145 ASSERT(!failed);
146 RefreshFenceStatus();
147}
148
149void CmdBufferVulkan::RefreshFenceStatus()
150{

Callers 6

DownloadDataMethod · 0.45
DownloadDataMethod · 0.45
SubmitMethod · 0.45
ReleaseMethod · 0.45
BeginMethod · 0.45
WaitGPUMethod · 0.45

Calls 1

WaitForFenceMethod · 0.45

Tested by

no test coverage detected