59 virtual void Initialize();
64 virtual void Update(
float deltaTime);
72 virtual void Shutdown();
83 static std::vector<std::pair<std::string, Factory>>& GetPendingRegistrations();
92 void LoadScene(std::string sceneName);
110 static bool RegisterScene(
const std::string& name,
Factory factory);
117 static std::unique_ptr<Scene> CreateScene(
const std::string& name,
SceneManager& sm);
119 std::shared_ptr<TextRenderer> GetTextRenderer();
123 static std::unordered_map<std::string, Factory>& GetMap()
125 static std::unordered_map<std::string, Factory> map;
135 std::unique_ptr<Scene> mCurrentScene;
136 std::unique_ptr<Scene> mNextScene;
138 std::shared_ptr<TextureCache> mTextureCache;
139 std::shared_ptr<ModelCache> mModelCache;
140 std::shared_ptr<MaterialCache> mMaterialCache;
141 std::shared_ptr<TextRenderer> mTextRenderer;
Aggregates pointers to global rendering resource managers.