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

Libraries.Game.Graphics.Vulkan.VulkanQueryPool

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

  • first integer: The first query
  • count integer: How many

Inherited Actions

3 actions from Libraries.Language.Object