engine::Engine class

The static Engine class provides the core functionality of the game engine, including initialization, shutdown, and access to engine-managed systems.

Public static functions

static void Init(const EngineConfig& config)
Initializes the engine, including the window, graphics context, and other core systems.
static void Shutdown()
Gracefully shuts down the engine and releases all resources.
static auto window() -> Window&
Provides access to the main application window.

Function documentation

static void engine::Engine::Init(const EngineConfig& config)

Initializes the engine, including the window, graphics context, and other core systems.

Parameters
config The EngineConfig struct containing initialization settings.

This must be called before any other engine functions.

static Window& engine::Engine::window()

Provides access to the main application window.

Returns Reference to the main Window.