|
My Project
|
High-level runtime bridge that manages the application, engine, and input. More...
#include <Bridge.hpp>
Public Member Functions | |
| void | init () |
| Initializes the runtime bridge. Sets up the application, engine, and input system. | |
| void | run () |
| Runs the main loop of the engine. Continuously updates input, time, and the current scene. | |
| void | shutdown () |
| Shuts down the engine and application cleanly. Releases resources and cleans up subsystems. | |
| bool | shouldClose () const |
| Checks if the application window should close. | |
High-level runtime bridge that manages the application, engine, and input.
This class serves as a top-level interface to initialize, run, and shut down the engine and its associated systems, including input handling via InputBridge.
| void Runtime::Bridge::init | ( | ) |
Initializes the runtime bridge. Sets up the application, engine, and input system.
| void Runtime::Bridge::run | ( | ) |
Runs the main loop of the engine. Continuously updates input, time, and the current scene.
|
inline |
Checks if the application window should close.
| void Runtime::Bridge::shutdown | ( | ) |
Shuts down the engine and application cleanly. Releases resources and cleans up subsystems.