feat: make debug ui toggle-able

This commit is contained in:
2026-08-12 01:35:25 +02:00
parent c3c1d5ae28
commit 405ef0baeb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ public:
std::string appName{"Destrum App"}; std::string appName{"Destrum App"};
std::string windowTitle; std::string windowTitle;
std::filesystem::path exeDir; std::filesystem::path exeDir;
bool showDebugUi{true};
}; };
App(); App();
+1
View File
@@ -192,6 +192,7 @@ void App::run()
customUpdate(dt); customUpdate(dt);
} }
if (m_params.showDebugUi)
{ {
ZoneScopedN("Debug ImGui"); ZoneScopedN("Debug ImGui");
SceneManager::GetInstance().RenderImgui(); SceneManager::GetInstance().RenderImgui();