getPhysicalDeviceCalibrateableTimeDomainsKHR :: MonadIO io=> PhysicalDevicephysicalDeviceis the physical device from which to query the set of calibrateable time domains.-> io (Result,"timeDomains"
::: Vector TimeDomainKHR)
vkGetPhysicalDeviceCalibrateableTimeDomainsKHR - Query calibrateable time domains
Description
If pTimeDomains is NULL, then the number of calibrateable time
domains supported for the given physicalDevice is returned in
pTimeDomainCount. Otherwise, pTimeDomainCount must point to a
variable set by the application to the number of elements in the
pTimeDomains array, and on return the variable is overwritten with the
number of values actually written to pTimeDomains. If the value of
pTimeDomainCount is less than the number of calibrateable time domains
supported, at most pTimeDomainCount values will be written to
pTimeDomains, and INCOMPLETE will be
returned instead of SUCCESS, to indicate
that not all the available time domains were returned.
Valid Usage (Implicit)
physicalDevicemust be a valid PhysicalDevice handle
pTimeDomainCountmust be a valid pointer to auint32_tvalueIf the value referenced by
pTimeDomainCountis not0, andpTimeDomainsis notNULL,pTimeDomainsmust be a valid pointer to an array ofpTimeDomainCountTimeDomainKHR values
Return Codes
See Also
VK_EXT_calibrated_timestamps, VK_KHR_calibrated_timestamps, PhysicalDevice, TimeDomainKHR