Handles window creation and Vulkan initialization and main loop. Definition for Window namepsace found in window.h. More...
#include "window.h"#include "internal.h"#include <vulkan/vulkan.h>#include <GLFW/glfw3.h>#include <GLFW/glfw3native.h>#include <stdexcept>#include <vector>#include <utility>#include <optional>#include <iostream>#include <unordered_map>#include <iomanip>#include <string>#include <cstring>#include <algorithm>#include <functional>#include <set>#include <fstream>Go to the source code of this file.
| Namespaces | |
| namespace | window | 
| Handles window creation and Vulkan initialization and main loop. code can be found in window.cpp. | |
| Functions | |
| void | internal::UpdateLoop () | 
| void | window::Init () | 
| alias for backgroundColour | |
| void | window::Close () | 
| Closes the window and cleans up Vulkan. | |
| void | window::SetWindowResolution (u32 width, u32 height) | 
| Sets the window resolution. | |
| void | window::SetRenderResolution (u32 width, u32 height) | 
| Sets the render resolution. | |
| u32Vec2 | window::GetRenderResolution () | 
| Gets the render resolution. | |
| u32Vec2 | window::GetWindowResolution () | 
| Gets the window resolution. | |
| Variables | |
| const char * | window::title = "..." | 
| Title of the window. | |
| bool | window::isResizable = false | 
| Going to be flags later on... | |
| Colour | window::backgroundColour | 
| Background colour, has alias backgroundColor. | |
Handles window creation and Vulkan initialization and main loop. Definition for Window namepsace found in window.h.
Definition in file window.cpp.
| void internal::UpdateLoop | ( | ) | 
Definition at line 117 of file window.cpp.