Untitled 2D game engine pre-alpha
A 2D game engine made with Vulkan in C++
 
Loading...
Searching...
No Matches
window.h File Reference

Defines window namespace, can be found in window.cpp. More...

#include <opinionated_type_names.h>
#include "constants_and_types.h"

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 window::Init ()
 alias for backgroundColour
 
void window::Close ()
 Closes the window and cleans up Vulkan.
 
void window::SetRenderResolution (u32 width, u32 height)
 Sets the render resolution.
 
void window::SetWindowResolution (u32 width, u32 height)
 Sets the window resolution.
 
u32Vec2 window::GetRenderResolution ()
 Gets the render resolution.
 
u32Vec2 window::GetWindowResolution ()
 Gets the window resolution.
 

Variables

auto & window::Initialise = Init
 Alias for Init()
 
auto & window::Initialize = Init
 Alias for Init()
 
auto & window::Exit = Close
 Alias for Close()
 
auto & window::Terminate = Close
 Alias for Close()
 

Detailed Description

Defines window namespace, can be found in window.cpp.

This file defines the windows namespace, which encapsulates all the logic and functionalty for creating a Window and Vulkan initalization.

Definition in file window.h.