Skip to content

File SceneManager.h

File List > fileIO > SceneManager.h

Go to the documentation of this file

#pragma once

#include "Scene.h"

class SceneManager
{
private:

    static std::unordered_map<std::string, std::shared_ptr<Scene>> sce_configs; 

public:

    static std::shared_ptr<Scene> Main(std::string _name="scene1");

    static std::shared_ptr<Scene> CornellBox(std::string _name="cornellbox");

    static std::shared_ptr<Scene> SDF_Test(std::string _name="SDF test");

    static std::shared_ptr<Scene> Shadow(std::string _name = "shadow test");

    static std::shared_ptr<Scene> GetSceneConfig(std::string _name);
};