C Specification
Queries are managed using query pool objects. Each query pool is a collection of a specific number of queries of a particular type.
Query pools cannot be destroyed https://registry.khronos.org/vulkansc/specs/1.0-extensions/html/vkspec.html#SCID-4.
If VkPhysicalDeviceVulkanSC10Properties::deviceDestroyFreesMemory
is VK_TRUE, the memory is returned to the system when the device is
destroyed.
Otherwise, it may not be returned to the system until the process is
terminated.
Query pools are represented by VkQueryPool handles:
// Provided by VK_VERSION_1_0
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkQueryPool)
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.