Multiple Scenes in the Render Loop
For applications with multiple scenes (e.g., a 3D world and a UI overlay):
engine.runRenderLoop(() => {
// Render main game scene
gameScene.render();
// Render UI overlay scene (without clearing the canvas)
uiScene.autoClear = false; // Don't clear previous scene
uiScene.render();
});