VkCV Framework  0.0.1
CV Vulkan framework
vkcv::WindowManager Class Reference

Public Member Functions

 WindowManager (WindowManager &&other)=delete
 
 WindowManager (const WindowManager &other)=delete
 
WindowManageroperator= (WindowManager &&other)=delete
 
WindowManageroperator= (const WindowManager &other)=delete
 
WindowHandle createWindow (SwapchainManager &swapchainManager, const char *applicationName, uint32_t windowWidth, uint32_t windowHeight, bool resizeable)
 
WindowgetWindow (const WindowHandle handle) const
 

Private Member Functions

void destroyWindowById (uint64_t id)
 

Private Attributes

std::vector< Window * > m_windows
 

Friends

class Core
 

Detailed Description

Member Function Documentation

◆ createWindow()

WindowHandle vkcv::WindowManager::createWindow ( SwapchainManager swapchainManager,
const char *  applicationName,
uint32_t  windowWidth,
uint32_t  windowHeight,
bool  resizeable 
)

creates a window and returns it's handle

Parameters
swapchainManagerfor swapchain creation
applicationNamename of the window
windowWidth
windowHeight
resizeableif the window is resizable
Returns
window handle

References vkcv::SwapchainManager::createSwapchain(), and vkcv::SwapchainManager::signalRecreation().

Here is the call graph for this function:

◆ getWindow()

Window & vkcv::WindowManager::getWindow ( const WindowHandle  handle) const
Parameters
handleof the window to get
Returns
the reference of the window

References vkcv::Handle::getId().

Here is the call graph for this function:

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