C Specification
To get an array containing the newest collected latency data, call:
// Provided by VK_NV_low_latency2
void vkGetLatencyTimingsNV(
VkDevice device,
VkSwapchainKHR swapchain,
VkGetLatencyMarkerInfoNV* pLatencyMarkerInfo);
Parameters
-
device
is the device associated withswapchain
. -
swapchain
is the swapchain to return data from. -
pGetLatencyMarkerInfo
is a pointer to a VkGetLatencyMarkerInfoNV structure specifying the parameters for returning latency information.
Description
The timings returned by vkGetLatencyTimingsNV
contain the timestamps
requested from vkSetLatencyMarkerNV and additional
implementation-specific markers defined in
VkLatencyTimingsFrameReportNV.
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.