mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 09:51:21 +00:00
Draw debug overlays over game draw
This commit is contained in:
parent
31bf97e309
commit
eae0696bea
@ -344,6 +344,7 @@ public:
|
||||
}
|
||||
g_Renderer->EndScene();
|
||||
}
|
||||
m_imGuiConsole.PostDraw();
|
||||
}
|
||||
|
||||
void onAppPostDraw() noexcept {
|
||||
|
@ -1401,10 +1401,7 @@ void ImGuiConsole::PreUpdate() {
|
||||
if (m_showConsoleVariablesWindow) {
|
||||
ShowConsoleVariablesWindow();
|
||||
}
|
||||
ShowDebugOverlay();
|
||||
ShowInputViewer();
|
||||
ShowPlayerTransformEditor();
|
||||
ShowPipelineProgress();
|
||||
m_controllerConfig.show(m_controllerConfigVisible);
|
||||
if (preLaunch && m_showPreLaunchSettingsWindow) {
|
||||
ShowPreLaunchSettingsWindow();
|
||||
@ -1444,6 +1441,12 @@ void ImGuiConsole::PostUpdate() {
|
||||
}
|
||||
}
|
||||
|
||||
void ImGuiConsole::PostDraw() {
|
||||
ShowDebugOverlay();
|
||||
ShowInputViewer();
|
||||
ShowPipelineProgress();
|
||||
}
|
||||
|
||||
void ImGuiConsole::Shutdown() {
|
||||
dummyWorlds.clear();
|
||||
stringTables.clear();
|
||||
|
@ -55,6 +55,7 @@ public:
|
||||
ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons);
|
||||
void PreUpdate();
|
||||
void PostUpdate();
|
||||
void PostDraw();
|
||||
void Shutdown();
|
||||
|
||||
static void BeginEntityRow(const ImGuiEntityEntry& entry);
|
||||
|
Loading…
x
Reference in New Issue
Block a user