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

Method Reset

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

Source from the content-addressed store, hash-verified

652#if VULKAN_RESET_QUERY_POOLS
653
654void QueryPoolVulkan::Reset(CmdBufferVulkan* cmdBuffer)
655{
656 for (auto& range : _resetRanges)
657 {
658 vkCmdResetQueryPool(cmdBuffer->GetHandle(), _handle, range.Start, range.Count);
659 }
660 _resetRanges.Clear();
661 ResetBeforeUse = false;
662}
663
664#endif
665

Callers 1

FrameBeginMethod · 0.45

Calls 2

GetHandleMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected