VkSwapchainKHR
VkSwapchainKHR is a Vulkan handle type that represents a swapchain, a collection of presentable images used to render and present frames to a window system surface. A swapchain is created for a specific presentation surface (VkSurfaceKHR) and is tied to a queue family capable of presenting. The swapchain contains one or more images that the application renders into and then presents to the screen.
Creation and management of a swapchain are performed with vkCreateSwapchainKHR and vkDestroySwapchainKHR, using a VkSwapchainCreateInfoKHR structure.
Images in the swapchain are retrieved with vkGetSwapchainImagesKHR, and image views are typically created for each
Lifecycle considerations include handling window resizes and surface changes, which may require recreating the swapchain. If