Hymn to Beauty
C++ 3D Engine
Engine::Configuration Struct Reference

Engine configuration. More...

#include <Engine.hpp>

Public Attributes

int width = 1024
 Window width. More...
 
int height = 768
 Window height. More...
 
bool fullscreen = false
 Whether to run in fullscreen mode. More...
 
bool borderless = false
 Whether to run in borderless window mode. More...
 
bool debug = false
 Whether to run in debug context. More...
 
double targetFPS = 60.0
 The target FPS. More...
 
bool paused = false
 Whether the hymn is paused. More...
 
Video::Renderer::GraphicsAPI graphicsAPI = Video::Renderer::GraphicsAPI::OPENGL
 Which graphics API to use for rendering. More...
 

Detailed Description

Engine configuration.

Member Data Documentation

◆ borderless

bool Engine::Configuration::borderless = false

Whether to run in borderless window mode.

◆ debug

bool Engine::Configuration::debug = false

Whether to run in debug context.

◆ fullscreen

bool Engine::Configuration::fullscreen = false

Whether to run in fullscreen mode.

◆ graphicsAPI

Which graphics API to use for rendering.

◆ height

int Engine::Configuration::height = 768

Window height.

◆ paused

bool Engine::Configuration::paused = false

Whether the hymn is paused.

Only certain things will be updated. Used in the editor.

◆ targetFPS

double Engine::Configuration::targetFPS = 60.0

The target FPS.

◆ width

int Engine::Configuration::width = 1024

Window width.


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