31 VkPhysicalDevice physical_device,
45 VkPhysicalDevice physical_device,
Definition: Swapchain.hpp:8
std::vector< VkImage > images
Definition: Swapchain.hpp:54
Swapchain(const Swapchain &)=delete
void clear()
Definition: Swapchain.cpp:140
Swapchain & operator=(const Swapchain &)=delete
~Swapchain()
Definition: Swapchain.cpp:135
VkExtent2D extent
Definition: Swapchain.hpp:52
VkSwapchainKHR swapchain
Definition: Swapchain.hpp:51
VkFormat image_format
Definition: Swapchain.hpp:53
std::vector< VkImageView > image_views
Definition: Swapchain.hpp:55
Swapchain()
Definition: Swapchain.cpp:3
static SupportDetails querySwapChainSupport(VkPhysicalDevice physical_device, VkSurfaceKHR surface)
Definition: Swapchain.cpp:159
Definition: Swapchain.hpp:20
VkExtent2D extent
Definition: Swapchain.hpp:23
VkSurfaceFormatKHR surface_format
Definition: Swapchain.hpp:21
VkPresentModeKHR present_mode
Definition: Swapchain.hpp:22
VkSwapchainKHR old_swapchain
Definition: Swapchain.hpp:25
Definition: Swapchain.hpp:13
std::vector< VkSurfaceFormatKHR > formats
Definition: Swapchain.hpp:15
VkSurfaceCapabilitiesKHR capabilities
Definition: Swapchain.hpp:14
std::vector< VkPresentModeKHR > present_modes
Definition: Swapchain.hpp:16