My Project
Loading...
Searching...
No Matches
Runtime::Bridge Class Reference

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.

Detailed Description

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.

Member Function Documentation

◆ init()

void Runtime::Bridge::init ( )

Initializes the runtime bridge. Sets up the application, engine, and input system.

◆ run()

void Runtime::Bridge::run ( )

Runs the main loop of the engine. Continuously updates input, time, and the current scene.

◆ shouldClose()

bool Runtime::Bridge::shouldClose ( ) const
inline

Checks if the application window should close.

Returns
true if the window should close, false otherwise.

◆ shutdown()

void Runtime::Bridge::shutdown ( )

Shuts down the engine and application cleanly. Releases resources and cleans up subsystems.


The documentation for this class was generated from the following file:
  • Runtime/EngineBridge/Headers/MainBridge/Bridge.hpp