feat: make debug ui toggle-able
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user