Manages the current scene, including loading, starting, updating, rendering, and unloading scenes. Provides static methods to control the active scene in the editor or engine.
static Scene* ActiveScene;
Returns the current active scene.
static void LoadScene(Scene* pScene);
Loads the given scene and sets it as the active scene.
static void StartScene(IRenderer* pRenderer);
Starts the active scene with the provided renderer.
static void Update();
Each frame, this function will update every actors of the scene.
static void Render();
Each frame, this function will call the BeginDraw(), Draw() and EndDraw() of the renderer.
static bool SceneLoaded();
Returns true if a scene is currently loaded.
static void Unload();
Unloads the current active scene.