public class EXTHostQueryReset
extends java.lang.Object
VK_EXT_host_query_resetVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_HOST_QUERY_RESET_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
vkResetQueryPoolEXT(org.lwjgl.vulkan.VkDevice device,
long queryPool,
int firstQuery,
int queryCount)
Reset queries in a query pool.
|
public static final int VK_EXT_HOST_QUERY_RESET_SPEC_VERSION
public static final java.lang.String VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT
VkStructureType.public static void vkResetQueryPoolEXT(org.lwjgl.vulkan.VkDevice device,
long queryPool,
int firstQuery,
int queryCount)
To reset a range of queries in a query pool on the host, call:
void vkResetQueryPoolEXT(
VkDevice device,
VkQueryPool queryPool,
uint32_t firstQuery,
uint32_t queryCount);
This command sets the status of query indices [firstQuery, firstQuery + queryCount - 1] to unavailable.
firstQuery must be less than the number of queries in queryPoolfirstQuery and queryCount must be less than or equal to the number of queries in queryPoolfirstQuery and queryCount in queryPool must have completed executionfirstQuery and queryCount in queryPool must not be in use by calls to GetQueryPoolResults or vkResetQueryPoolEXT in other threadsdevice must be a valid VkDevice handlequeryPool must be a valid VkQueryPool handlequeryPool must have been created, allocated, or retrieved from devicedevice - the logical device that owns the query pool.queryPool - the handle of the query pool managing the queries being reset.firstQuery - the initial query index to reset.queryCount - the number of queries to reset.Copyright LWJGL. All Rights Reserved. License terms.