Toast Engine
Loading...
Searching...
No Matches
renderer::VulkanSwapchain Class Reference

Public Member Functions

 VulkanSwapchain (const VulkanCore &core, vk::raii::SurfaceKHR &surface, vk::Extent2D preferred_extent)
 VulkanSwapchain (const VulkanSwapchain &)=delete
auto operator= (const VulkanSwapchain &) -> VulkanSwapchain &=delete
 VulkanSwapchain (VulkanSwapchain &&)=delete
auto operator= (VulkanSwapchain &&) -> VulkanSwapchain &=delete
void recreate (vk::Extent2D preferred_extent)
auto getExtent () const -> vk::Extent2D
auto getColorFormat () const -> vk::Format
auto getImageCount () const -> uint32_t
auto getImage (uint32_t index) const -> const vk::Image &
auto getColorAttachment (uint32_t index) const -> const vk::raii::ImageView &
auto acquireNextImage (uint64_t timeout, vk::Semaphore image_available, vk::Fence in_flight_fence) const -> vk::ResultValue< uint32_t >
auto present (uint32_t image_index, vk::Semaphore render_finished) const -> vk::Result

The documentation for this class was generated from the following files: