|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
#include <Window.h>
Public Member Functions | |
| Window (std::weak_ptr< InputHandler > inputHandler, GLFWframebuffersizefun windowResizeCallback) | |
| void | setupInputHandler (const std::weak_ptr< InputHandler > &inputHandler) |
| void | createSurface (VkInstance instance, VkSurfaceKHR &surface) |
| GLFWwindow * | getWindowInstance () const |
| void | cleanup () |
Private Attributes | |
| GLFWwindow * | window |
| EngineCore::Window::Window | ( | std::weak_ptr< InputHandler > | inputHandler, |
| GLFWframebuffersizefun | windowResizeCallback ) |
Definition at line 10 of file Window.cpp.
References EngineCore::EngineManager::getEngineModule(), EngineCore::EngineManager::getInstance(), INITIAL_WINDOW_HEIGHT, INITIAL_WINDOW_WIDTH, setupInputHandler(), and window.
| void EngineCore::Window::cleanup | ( | ) |
Definition at line 53 of file Window.cpp.
References window.
| void EngineCore::Window::createSurface | ( | VkInstance | instance, |
| VkSurfaceKHR & | surface ) |
Definition at line 43 of file Window.cpp.
References window.
| GLFWwindow * EngineCore::Window::getWindowInstance | ( | ) | const |
Definition at line 49 of file Window.cpp.
References window.
| void EngineCore::Window::setupInputHandler | ( | const std::weak_ptr< InputHandler > & | inputHandler | ) |
Definition at line 36 of file Window.cpp.
Referenced by Window().
|
private |
Definition at line 23 of file Window.h.
Referenced by cleanup(), createSurface(), getWindowInstance(), and Window().