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

#include <engine_config.h>

Public Member Functions

bool load ()
 
const char * get_orientation_str () const
 
RendererDevice get_renderer_device () const
 
Threading get_threading () const
 
Application get_application () const
 
Environment get_environment () const
 
Viewport get_viewport () const
 
Window get_window () const
 
bool is_vsync () const
 
void set_vsync (bool enabled)
 

Public Attributes

Orientation orientation = Orientation::LANDSCAPE_LEFT
 
TextureFiltering texture_filtering = TextureFiltering::NEAREST
 

Member Function Documentation

◆ get_application()

Application EngineConfig::get_application ( ) const

◆ get_environment()

Environment EngineConfig::get_environment ( ) const

◆ get_orientation_str()

const char * EngineConfig::get_orientation_str ( ) const

◆ get_renderer_device()

RendererDevice EngineConfig::get_renderer_device ( ) const

◆ get_threading()

Threading EngineConfig::get_threading ( ) const

◆ get_viewport()

Viewport EngineConfig::get_viewport ( ) const

◆ get_window()

Window EngineConfig::get_window ( ) const

◆ is_vsync()

bool EngineConfig::is_vsync ( ) const

◆ load()

bool EngineConfig::load ( )

◆ set_vsync()

void EngineConfig::set_vsync ( bool  enabled)

Member Data Documentation

◆ 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: