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

Method WaitForGPU

Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp:2073–2081  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2071}
2072
2073void GPUDeviceVulkan::WaitForGPU()
2074{
2075 if (Device != VK_NULL_HANDLE)
2076 {
2077 PROFILE_CPU();
2078 ZoneColor(TracyWaitZoneColor);
2079 VALIDATE_VULKAN_RESULT(vkDeviceWaitIdle(Device));
2080 }
2081}
2082
2083bool GPUDeviceVulkan::GetQueryResult(uint64 queryID, uint64& result, bool wait)
2084{

Callers 4

OnReleaseGPUMethod · 0.45
ResizeMethod · 0.45
TryPresentMethod · 0.45
PresentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected