Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Public Attributes | List of all members
EngineConfig Struct Reference

Engine configuration loaded from project.xml. More...

#include <project_config.h>

Public Member Functions

bool load ()
 
const char * get_orientation_str () const
 
RendererDeviceget_renderer_device ()
 
Performanceget_performance ()
 
Applicationget_application ()
 
Environmentget_environment ()
 
Viewportget_viewport ()
 
Windowget_window ()
 
bool is_vsync () const
 
void set_vsync (bool enabled)
 

Public Attributes

bool is_debug = false
 
Orientation orientation = Orientation::LANDSCAPE_LEFT
 
TextureFiltering texture_filtering = TextureFiltering::NEAREST
 

Detailed Description

Engine configuration loaded from project.xml.

Member Function Documentation

◆ get_application()

Application & EngineConfig::get_application ( )

◆ get_environment()

Environment & EngineConfig::get_environment ( )

◆ get_orientation_str()

const char * EngineConfig::get_orientation_str ( ) const

◆ get_performance()

Performance & EngineConfig::get_performance ( )

◆ get_renderer_device()

RendererDevice & EngineConfig::get_renderer_device ( )

◆ get_viewport()

Viewport & EngineConfig::get_viewport ( )

◆ get_window()

Window & EngineConfig::get_window ( )

◆ is_vsync()

bool EngineConfig::is_vsync ( ) const

◆ load()

bool EngineConfig::load ( )

◆ set_vsync()

void EngineConfig::set_vsync ( bool  enabled)

Member Data Documentation

◆ is_debug

bool EngineConfig::is_debug = false

◆ orientation

Orientation EngineConfig::orientation = Orientation::LANDSCAPE_LEFT

◆ texture_filtering

TextureFiltering EngineConfig::texture_filtering = TextureFiltering::NEAREST

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