Structures
VkPerformanceCounterKHR
Structure providing information about a counter
The VkPerformanceCounterKHR structure is defined as:
typedef struct VkPerformanceCounterKHR {
VkStructureType sType;
void* pNext;
VkPerformanceCounterUnitKHR unit;
VkPerformanceCounterScopeKHR scope;
VkPerformanceCounterStorageKHR storage;
uint8_t uuid[VK_UUID_SIZE];
} VkPerformanceCounterKHR;
pub struct PerformanceCounterKHR {
s_type: vk::StructureType,
p_next: *mut c_void,
unit: vk::PerformanceCounterUnitKHR,
scope: vk::PerformanceCounterScopeKHR,
storage: vk::PerformanceCounterStorageKHR,
uuid: [u8; VK_UUID_SIZE],
}
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.unitis a VkPerformanceCounterUnitKHR specifying the unit that the counter data will record.scopeis a VkPerformanceCounterScopeKHR specifying the scope that the counter belongs to.storageis a VkPerformanceCounterStorageKHR specifying the storage type that the counter’s data uses.uuidis an array of sizeVK_UUID_SIZE, containing 8-bit values that represent a universally unique identifier for the counter of the physical device.
Valid Usage (Implicit)
VUID-VkPerformanceCounterKHR-sType-sType
sType must be VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR
VUID-VkPerformanceCounterKHR-pNext-pNext
pNext must be NULL
Parent
VK_KHR_performance_queryType
Structures