Scene Engine functions.
More...
◆ begin()
| int CmdFX::SceneEngine::begin |
( |
| ) |
|
Begins the Scene Engine.
This function starts the Scene Engine, enabling automatic scene management and rendering. This should be called before registering any scenes.
- Returns
- 0 if successful, -1 if an error occurred.
◆ end()
| int CmdFX::SceneEngine::end |
( |
| ) |
|
Ends the Scene Engine.
This function stops the Scene Engine and cleans up all resources. This should be called when scene management is no longer needed.
- Returns
- 0 if successful, -1 if an error occurred.
◆ tick()
| void CmdFX::SceneEngine::tick |
( |
| ) |
|
Ticks the Scene Engine.
This function ticks the Scene Engine, updating all registered scenes and redrawing them if necessary. This should be called once per frame.