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
-
device
is the device associated withswapchain
. -
swapchain
is the swapchain to obtain the refresh duration for. -
pDisplayTimingProperties
is a pointer to aVkRefreshCycleDurationGOOGLE
structure.
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.