Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Enumerations
engine_config.h File Reference
#include "systems/logging_sys.h"

Go to the source code of this file.

Classes

struct  Viewport
 
struct  Environment
 
struct  Application
 
struct  Threading
 
struct  RendererDevice
 
struct  Window
 
struct  EngineConfig
 

Enumerations

enum class  Backend {
  GL_COMPATIBILITY , VK_FORWARD , DIRECTX12 , METAL ,
  AUTO
}
 Supported rendering backends for the engine. More...
 
enum class  Orientation { LANDSCAPE_LEFT , LANDSCAPE_RIGHT , PORTRAIT , PORTRAIT_UPSIDE_DOWN }
 
enum class  AspectRatio { NONE , KEEP , EXPAND }
 
enum class  ViewportMode { VIEWPORT , CANVAS }
 
enum class  TextureFiltering { LINEAR , NEAREST }
 Texture filtering modes. More...
 
enum class  WindowMode { WINDOWED , MAXIMIZED , MINIMIZED , FULLSCREEN }
 

Enumeration Type Documentation

◆ AspectRatio

enum AspectRatio
strong
Enumerator
NONE 
KEEP 
EXPAND 

◆ Backend

enum Backend
strong

Supported rendering backends for the engine.

Note
Not all backends were implemented.
Enumerator
GL_COMPATIBILITY 

OpenGL-based compatibility profile.

Desktop: OpenGL Core (3.3+) Mobile: OpenGL ES (3.0+) Web: WebGL 2/3

VK_FORWARD 

Vulkan-based high-performance profile.

Desktop and Android (if supported).

DIRECTX12 

DirectX 12 backend (Windows + Xbox).

METAL 

Metal backend (macOS + iOS).

AUTO 

Automatically choose the best backend for the platform.

◆ Orientation

enum Orientation
strong
Enumerator
LANDSCAPE_LEFT 
LANDSCAPE_RIGHT 
PORTRAIT 
PORTRAIT_UPSIDE_DOWN 

◆ TextureFiltering

enum TextureFiltering
strong

Texture filtering modes.

Determines how texture pixels are sampled when scaled or transformed.

Enumerator
LINEAR 

Smooth filtering.

NEAREST 

Pixelated filtering.

◆ ViewportMode

enum ViewportMode
strong
Enumerator
VIEWPORT 
CANVAS 

◆ WindowMode

enum WindowMode
strong
Enumerator
WINDOWED 
MAXIMIZED 
MINIMIZED 
FULLSCREEN