ResetQueryPoolCommand
Package: Libraries.Game.Graphics.Vulkan.Commands · Inherits from: Libraries.Game.Graphics.Vulkan.Commands.VulkanCommand, Libraries.Language.Object
The ResetQueryPoolCommand resets a range of a query pool's queries, so they can be used again (vkCmdResetQueryPool). It must be recorded outside a render pass, before the queries are written.
Example Code
use Libraries.Game.Graphics.Vulkan.Commands.ResetQueryPoolCommand
ResetQueryPoolCommand reset
reset:SetRange(0, 16)
Actions
GetCount()
Returns
integer
GetFirst()
This action sets which queries are reset.
Returns
integer
GetQueryPool()
Returns
Record(Libraries.Game.Graphics.Vulkan.VulkanCommandBuffer buffer)
Parameters
SetQueryPool(Libraries.Game.Graphics.Vulkan.VulkanQueryPool pool)
Parameters
SetRange(integer first, integer count)
This action sets which queries are reset.
Parameters
firstinteger: The first querycountinteger: How many