VkCV Framework
0.0.1
CV Vulkan framework
|
Public Member Functions | |
WindowManager (WindowManager &&other)=delete | |
WindowManager (const WindowManager &other)=delete | |
WindowManager & | operator= (WindowManager &&other)=delete |
WindowManager & | operator= (const WindowManager &other)=delete |
WindowHandle | createWindow (SwapchainManager &swapchainManager, const char *applicationName, uint32_t windowWidth, uint32_t windowHeight, bool resizeable) |
Window & | getWindow (const WindowHandle handle) const |
Private Member Functions | |
void | destroyWindowById (uint64_t id) |
Private Attributes | |
std::vector< Window * > | m_windows |
Friends | |
class | Core |
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
swapchainManager | for swapchain creation |
applicationName | name of the window |
windowWidth | |
windowHeight | |
resizeable | if the window is resizable |
References vkcv::SwapchainManager::createSwapchain(), and vkcv::SwapchainManager::signalRecreation().
Window & vkcv::WindowManager::getWindow | ( | const WindowHandle | handle | ) | const |
handle | of the window to get |
References vkcv::Handle::getId().