mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 16:31: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();
|
g_Renderer->EndScene();
|
||||||
}
|
}
|
||||||
|
m_imGuiConsole.PostDraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void onAppPostDraw() noexcept {
|
void onAppPostDraw() noexcept {
|
||||||
|
@ -1401,10 +1401,7 @@ void ImGuiConsole::PreUpdate() {
|
|||||||
if (m_showConsoleVariablesWindow) {
|
if (m_showConsoleVariablesWindow) {
|
||||||
ShowConsoleVariablesWindow();
|
ShowConsoleVariablesWindow();
|
||||||
}
|
}
|
||||||
ShowDebugOverlay();
|
|
||||||
ShowInputViewer();
|
|
||||||
ShowPlayerTransformEditor();
|
ShowPlayerTransformEditor();
|
||||||
ShowPipelineProgress();
|
|
||||||
m_controllerConfig.show(m_controllerConfigVisible);
|
m_controllerConfig.show(m_controllerConfigVisible);
|
||||||
if (preLaunch && m_showPreLaunchSettingsWindow) {
|
if (preLaunch && m_showPreLaunchSettingsWindow) {
|
||||||
ShowPreLaunchSettingsWindow();
|
ShowPreLaunchSettingsWindow();
|
||||||
@ -1444,6 +1441,12 @@ void ImGuiConsole::PostUpdate() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ImGuiConsole::PostDraw() {
|
||||||
|
ShowDebugOverlay();
|
||||||
|
ShowInputViewer();
|
||||||
|
ShowPipelineProgress();
|
||||||
|
}
|
||||||
|
|
||||||
void ImGuiConsole::Shutdown() {
|
void ImGuiConsole::Shutdown() {
|
||||||
dummyWorlds.clear();
|
dummyWorlds.clear();
|
||||||
stringTables.clear();
|
stringTables.clear();
|
||||||
|
@ -55,6 +55,7 @@ public:
|
|||||||
ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons);
|
ImGuiConsole(CVarManager& cvarMgr, CVarCommons& cvarCommons);
|
||||||
void PreUpdate();
|
void PreUpdate();
|
||||||
void PostUpdate();
|
void PostUpdate();
|
||||||
|
void PostDraw();
|
||||||
void Shutdown();
|
void Shutdown();
|
||||||
|
|
||||||
static void BeginEntityRow(const ImGuiEntityEntry& entry);
|
static void BeginEntityRow(const ImGuiEntityEntry& entry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user