feat: make debug ui toggle-able
This commit is contained in:
@@ -23,6 +23,7 @@ public:
|
||||
std::string appName{"Destrum App"};
|
||||
std::string windowTitle;
|
||||
std::filesystem::path exeDir;
|
||||
bool showDebugUi{true};
|
||||
};
|
||||
|
||||
App();
|
||||
|
||||
@@ -192,6 +192,7 @@ void App::run()
|
||||
customUpdate(dt);
|
||||
}
|
||||
|
||||
if (m_params.showDebugUi)
|
||||
{
|
||||
ZoneScopedN("Debug ImGui");
|
||||
SceneManager::GetInstance().RenderImgui();
|
||||
|
||||
Reference in New Issue
Block a user