6#ifndef INCLUDE_VULKANENGINE_SWAPCHAIN_H_
7#define INCLUDE_VULKANENGINE_SWAPCHAIN_H_
9#include <VulkanEngine/RenderPass.h>
10#include <VulkanEngine/VulkanManager.h>
11#include <VulkanEngine/Window.h>
22 Swapchain(uint32_t number_of_images, std::shared_ptr<Window> _window,
23 std::shared_ptr<RenderPass> render_pass);
30 vk::Framebuffer getFramebuffer(
size_t index);
32 vk::SwapchainKHR getVkSwapChain();
37 vk::SwapchainKHR vk_swapchain;
38 std::vector<vk::Image> vk_swapchain_images;
39 std::vector<vk::ImageView> vk_swapchain_image_views;
40 std::vector<vk::Framebuffer> vk_swapchain_framebuffers;
42 std::vector<vk::Semaphore> vk_image_available_semaphores;
43 std::vector<vk::Semaphore> vk_rendering_finished_semaphores;
44 std::vector<vk::Fence> vk_in_flight_fences;
46 std::shared_ptr<Window> window;
Class which represents the swapchain.
Definition: Swapchain.h:19
~Swapchain()
Destructor.
Definition: Swapchain.cpp:112
TODO development of this class is in progress.
Definition: Attribute.h:13