vkGetSwapchainTimeDomainPropertiesEXT
The implementation maintains an internal monotonically increasing counter which updates when the presentation engine’s list of supported time domains for a swapchain is modified.
To query the time domains supported by the presentation engine for a given swapchain, call:
VkResult vkGetSwapchainTimeDomainPropertiesEXT(
VkDevice device,
VkSwapchainKHR swapchain,
VkSwapchainTimeDomainPropertiesEXT* pSwapchainTimeDomainProperties,
uint64_t* pTimeDomainsCounter);
pub fn get_swapchain_time_domain_properties_ext(
device: vk::Device,
swapchain: vk::SwapchainKHR,
p_swapchain_time_domain_properties: *mut vk::SwapchainTimeDomainPropertiesEXT,
p_time_domains_counter: *mut u64,
) -> vk::Result;
deviceis the device associated withswapchain.swapchainis the swapchain to obtain time domain properties for.pSwapchainTimeDomainPropertiesis a pointer to an instance of the VkSwapchainTimeDomainPropertiesEXT structure.pTimeDomainsCounterisNULLor a pointer to a 64-bit unsigned integer set by the implementation to the current value of the swapchain’s internal time domain properties counter.
If upon return
VkSwapchainTimeDomainPropertiesEXT::timeDomainCount is smaller
than the number of time domains supported for the given swapchain,
VK_INCOMPLETE will be returned instead of VK_SUCCESS to indicate
that not all the available values were returned.
Valid Usage (Implicit)
VUID-vkGetSwapchainTimeDomainPropertiesEXT-device-parameter
device must be a valid VkDevice handle
VUID-vkGetSwapchainTimeDomainPropertiesEXT-swapchain-parameter
swapchain must be a valid VkSwapchainKHR handle
VUID-vkGetSwapchainTimeDomainPropertiesEXT-pSwapchainTimeDomainProperties-parameter
pSwapchainTimeDomainProperties must be a valid pointer to a VkSwapchainTimeDomainPropertiesEXT structure
VUID-vkGetSwapchainTimeDomainPropertiesEXT-pTimeDomainsCounter-parameter
If pTimeDomainsCounter is not NULL, pTimeDomainsCounter must be a valid pointer to a uint64_t value
VUID-vkGetSwapchainTimeDomainPropertiesEXT-swapchain-parent
swapchain must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
swapchainmust be externally synchronized