// // Created by Vicente Ferrari Smith on 13.02.26. // #ifndef V_SWAPCHAIN_H #define V_SWAPCHAIN_H #include "init.h" #include inline VkSwapchainKHR swapchain; inline VkExtent2D swapchain_extent; inline VkSurfaceFormatKHR swapchain_format{ VK_FORMAT_B8G8R8A8_UNORM, VK_COLOR_SPACE_SRGB_NONLINEAR_KHR }; inline std::vector images; inline std::vector imageViews; inline std::vector imageLayouts; void createSwapchain(GLFWwindow* window); #endif //V_SWAPCHAIN_H