C Specification
To query the duration of a refresh cycle (RC) for the presentation engine’s display, call:
// Provided by VK_GOOGLE_display_timing
VkResult vkGetRefreshCycleDurationGOOGLE(
VkDevice device,
VkSwapchainKHR swapchain,
VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties);
Parameters
-
deviceis the device associated withswapchain. -
swapchainis the swapchain to obtain the refresh duration for. -
pDisplayTimingPropertiesis a pointer to aVkRefreshCycleDurationGOOGLEstructure.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.