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 withswapchain
.swapchain
is the swapchain to query.
Valid Usage (Implicit)
VUID-vkGetSwapchainStatusKHR-device-parameter
device
must be a valid VkDevice handle
VUID-vkGetSwapchainStatusKHR-swapchain-parameter
swapchain
must be a valid VkSwapchainKHR handle
VUID-vkGetSwapchainStatusKHR-swapchain-parent
swapchain
must have been created, allocated, or retrieved from device
Host Synchronization
- Host access to
swapchain
must be externally synchronized ::