vkSetLatencySleepModeNV
To enable or disable low latency mode on a swapchain, call:
VkResult vkSetLatencySleepModeNV(
VkDevice device,
VkSwapchainKHR swapchain,
const VkLatencySleepModeInfoNV* pSleepModeInfo);
deviceis the device associated withswapchain.swapchainis the swapchain to enable or disable low latency mode on.pSleepModeInfoisNULLor a pointer to a VkLatencySleepModeInfoNV structure specifying the parameters of the latency sleep mode.
If pSleepModeInfo is NULL, vkSetLatencySleepModeNV will
disable low latency mode, low latency boost, and set the minimum present
interval previously specified by VkLatencySleepModeInfoNV to zero on
swapchain.
As an exception to the normal rules for objects which are externally
synchronized, the swapchain passed to vkSetLatencySleepModeNV may be
simultaneously used by other threads in calls to functions other than
vkDestroySwapchainKHR.
Access to the swapchain data associated with this extension must be atomic
within the implementation.
Valid Usage (Implicit)
VUID-vkSetLatencySleepModeNV-device-parameter
device must be a valid VkDevice handle
VUID-vkSetLatencySleepModeNV-swapchain-parameter
swapchain must be a valid VkSwapchainKHR handle
VUID-vkSetLatencySleepModeNV-pSleepModeInfo-parameter
pSleepModeInfo must be a valid pointer to a valid VkLatencySleepModeInfoNV structure
VUID-vkSetLatencySleepModeNV-swapchain-parent
swapchain must have been created, allocated, or retrieved from device