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;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • unit is a VkPerformanceCounterUnitKHR specifying the unit that the counter data will record.
  • scope is a VkPerformanceCounterScopeKHR specifying the scope that the counter belongs to.
  • storage is a VkPerformanceCounterStorageKHR specifying the storage type that the counter’s data uses.
  • uuid is an array of size VK_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