Structures
VkAcquireProfilingLockInfoKHR
Structure specifying parameters to acquire the profiling lock
The VkAcquireProfilingLockInfoKHR
structure is defined as:
typedef struct VkAcquireProfilingLockInfoKHR {
VkStructureType sType;
const void* pNext;
VkAcquireProfilingLockFlagsKHR flags;
uint64_t timeout;
} VkAcquireProfilingLockInfoKHR;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.flags
is reserved for future use.timeout
indicates how long the function waits, in nanoseconds, if the profiling lock is not available.
Valid Usage (Implicit)
VUID-VkAcquireProfilingLockInfoKHR-sType-sType
sType
must be VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR
VUID-VkAcquireProfilingLockInfoKHR-pNext-pNext
pNext
must be NULL
VUID-VkAcquireProfilingLockInfoKHR-flags-zerobitmask
flags
must be 0
If timeout
is 0, vkAcquireProfilingLockKHR
will not block while
attempting to acquire the profiling lock.
If timeout
is UINT64_MAX
, the function will not return until the
profiling lock was acquired.