jGL
Loading...
Searching...
No Matches
Public Member Functions | List of all members
jGL::Vulkan::Swapchain Class Reference

#include <swapchain.h>

Public Member Functions

 Swapchain ()=default
 
 Swapchain (unsigned width, unsigned height, const Device &device, const VkSurfaceKHR &surface)
 
void cleanupSwapchain (const Device &device)
 
void recreateSwapchain (unsigned width, unsigned height, const Device &device, const VkSurfaceKHR &surface)
 
const VkFormat & getImageFormat () const
 
const VkExtent2D & getVkExtend2D () const
 
const std::vector< VkImageView > & getVkImageViews () const
 
const VkSwapchainKHR & getVkSwapchainKHR ()
 

Constructor & Destructor Documentation

◆ Swapchain() [1/2]

jGL::Vulkan::Swapchain::Swapchain ( )
default

◆ Swapchain() [2/2]

jGL::Vulkan::Swapchain::Swapchain ( unsigned  width,
unsigned  height,
const Device device,
const VkSurfaceKHR &  surface 
)
inline

Member Function Documentation

◆ cleanupSwapchain()

void jGL::Vulkan::Swapchain::cleanupSwapchain ( const Device device)

◆ getImageFormat()

const VkFormat & jGL::Vulkan::Swapchain::getImageFormat ( ) const
inline

◆ getVkExtend2D()

const VkExtent2D & jGL::Vulkan::Swapchain::getVkExtend2D ( ) const
inline

◆ getVkImageViews()

const std::vector< VkImageView > & jGL::Vulkan::Swapchain::getVkImageViews ( ) const
inline

◆ getVkSwapchainKHR()

const VkSwapchainKHR & jGL::Vulkan::Swapchain::getVkSwapchainKHR ( )
inline

◆ recreateSwapchain()

void jGL::Vulkan::Swapchain::recreateSwapchain ( unsigned  width,
unsigned  height,
const Device device,
const VkSurfaceKHR &  surface 
)

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