VkCV Framework
0.0.1
CV Vulkan framework
|
Public Member Functions | |
SwapchainManager (SwapchainManager &&other)=delete | |
SwapchainManager (const SwapchainManager &other)=delete | |
SwapchainManager & | operator= (SwapchainManager &&other)=delete |
SwapchainManager & | operator= (const SwapchainManager &other)=delete |
SwapchainHandle | createSwapchain (Window &window) |
Swapchain & | getSwapchain (const SwapchainHandle &handle) |
void | signalRecreation (const SwapchainHandle &handle) |
std::vector< vk::Image > | getSwapchainImages (const SwapchainHandle &handle) |
std::vector< vk::ImageView > | createSwapchainImageViews (SwapchainHandle &handle) |
Private Member Functions | |
void | destroySwapchainById (uint64_t id) |
Private Attributes | |
std::vector< Swapchain > | m_swapchains |
Context * | m_context |
Friends | |
class | Core |
class | WindowManager |
SwapchainHandle vkcv::SwapchainManager::createSwapchain | ( | Window & | window | ) |
creates a swapchain and returns the handle
window | of the to creatable window |
References vkcv::Swapchain::create().
Referenced by vkcv::WindowManager::createWindow().
std::vector< vk::ImageView > vkcv::SwapchainManager::createSwapchainImageViews | ( | SwapchainHandle & | handle | ) |
creates the swapchain imageViews for the swapchain
handle | of the swapchain which ImageViews should be created |
References vkcv::Swapchain::getFormat(), vkcv::Handle::getId(), and getSwapchainImages().
Swapchain & vkcv::SwapchainManager::getSwapchain | ( | const SwapchainHandle & | handle | ) |
handle | of the swapchain to get |
References vkcv::Handle::getId().
std::vector< vk::Image > vkcv::SwapchainManager::getSwapchainImages | ( | const SwapchainHandle & | handle | ) |
gets the swapchain images
handle | of the swapchain |
References vkcv::Handle::getId().
Referenced by createSwapchainImageViews().
void vkcv::SwapchainManager::signalRecreation | ( | const SwapchainHandle & | handle | ) |
sets the recreation flag fot the swapchain
handle | of the swapchain that should be recreated |
References vkcv::Handle::getId().
Referenced by vkcv::WindowManager::createWindow().