Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::platform::WindowConfig Struct Reference

Settings of a new window. More...

#include <aegis2d/platform/window.hpp>

Public Attributes

std::string title = "Aegis2D"
 Text of the title bar.
 
int width = 1280
 Width of the window, in screen coordinates.
 
int height = 720
 Height of the window, in screen coordinates.
 
bool resizable = true
 Whether the user can resize the window.
 
GraphicsApi graphics = GraphicsApi::OpenGL
 Graphics API the render backend will use with this window.
 

Detailed Description

Settings of a new window.

Member Data Documentation

◆ graphics

GraphicsApi aegis2d::platform::WindowConfig::graphics = GraphicsApi::OpenGL

Graphics API the render backend will use with this window.

◆ height

int aegis2d::platform::WindowConfig::height = 720

Height of the window, in screen coordinates.

◆ resizable

bool aegis2d::platform::WindowConfig::resizable = true

Whether the user can resize the window.

◆ title

std::string aegis2d::platform::WindowConfig::title = "Aegis2D"

Text of the title bar.

◆ width

int aegis2d::platform::WindowConfig::width = 1280

Width of the window, in screen coordinates.


The documentation for this struct was generated from the following file: