#include <engine.h>
◆ GetInputManager()
◆ GetRenderer()
Renderer * Engine::GetRenderer |
( |
| ) |
const |
◆ GetTimeManager()
◆ Initialize()
bool Engine::Initialize |
( |
const char * |
title, |
|
|
int |
width, |
|
|
int |
height, |
|
|
RendererType |
type, |
|
|
Uint64 |
flags = 0 |
|
) |
| |
Initialize SDL window, renderer and modules.
- Window
- Graphics Backend
OpenGL
or Metal
Unset some SDL flags and set supported later.
Can have more than one display, but for now we will just use the first one
◆ ResizeWindow()
void Engine::ResizeWindow |
( |
int |
w, |
|
|
int |
h |
|
) |
| const |
◆ Shutdown()
void Engine::Shutdown |
( |
| ) |
|
Deinitialize Window, Renderer and modules.
- Version
- 0.0.1
- Returns
- void
struct { ... } Engine::Audio |
◆ bbHeight
◆ bbWidth
◆ bFullscreen
bool Engine::bFullscreen = false |
◆ data
const SDL_DisplayMode* Engine::data = nullptr |
◆ device_id
SDL_AudioDeviceID Engine::device_id = 0 |
◆ global_volume
float Engine::global_volume = 1.f |
◆ height
◆ spec
SDL_AudioSpec Engine::spec {} |
◆ title
const char* Engine::title = "[EMBER_ENGINE] - Window" |
◆ VirtualFileSystem
◆ width
◆ window
SDL_Window* Engine::window {} |
struct { ... } Engine::Window |
The documentation for this class was generated from the following files: