Structures

VkCalibratedTimestampInfoKHR

Structure specifying the input parameters of a calibrated timestamp query

The VkCalibratedTimestampInfoKHR structure is defined as:

typedef struct VkCalibratedTimestampInfoKHR {
    VkStructureType sType;
    const void* pNext;
    VkTimeDomainKHR timeDomain;
} VkCalibratedTimestampInfoKHR;
typedef VkCalibratedTimestampInfoKHR VkCalibratedTimestampInfoEXT;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • timeDomain is a VkTimeDomainKHR value specifying the time domain from which the calibrated timestamp value should be returned.

Valid Usage

VUID-VkCalibratedTimestampInfoKHR-timeDomain-12227

If timeDomain is VK_TIME_DOMAIN_SWAPCHAIN_LOCAL_EXT or VK_TIME_DOMAIN_PRESENT_STAGE_LOCAL_EXT, the pNext chain must include a VkSwapchainCalibratedTimestampInfoEXT structure

Valid Usage (Implicit)

VUID-VkCalibratedTimestampInfoKHR-sType-sType

sType must be VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_KHR

VUID-VkCalibratedTimestampInfoKHR-pNext-pNext

pNext must be NULL or a pointer to a valid instance of VkSwapchainCalibratedTimestampInfoEXT

VUID-VkCalibratedTimestampInfoKHR-sType-unique

The sType value of each structure in the pNext chain must be unique