Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
|
#include <engine_config.h>
Public Member Functions | |
bool | load (const tinyxml2::XMLElement *root) |
Public Attributes | |
int | width = 320 |
int | height = 180 |
float | scale = 1.0f |
ViewportMode | mode = ViewportMode::VIEWPORT |
AspectRatio | aspect_ratio = AspectRatio::KEEP |
bool Viewport::load | ( | const tinyxml2::XMLElement * | root | ) |
AspectRatio Viewport::aspect_ratio = AspectRatio::KEEP |
int Viewport::height = 180 |
ViewportMode Viewport::mode = ViewportMode::VIEWPORT |
float Viewport::scale = 1.0f |
int Viewport::width = 320 |