Function Prototype

vkGetSwapchainStatusKHR

Get a swapchain's status

In order to query a swapchain’s status when rendering to a shared presentable image, call:

VkResult vkGetSwapchainStatusKHR(
    VkDevice device,
    VkSwapchainKHR swapchain);
  • device is the device associated with swapchain.
  • swapchain is the swapchain to query.

Valid Usage (Implicit)

VUID-vkGetSwapchainStatusKHR-swapchain-parent

swapchain must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to swapchain must be externally synchronized ::