Engine class
#include <include/engine/core/engine.h>
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.