MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / ShowEditor

Method ShowEditor

ogsr_engine/xrGame/embedded_editor/embedded_editor_main.cpp:141–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void CImGuiEditor::ShowEditor()
142{
143 ::Sound->DbgCurrentEnvPaused(false);
144
145 if (!IsEditor())
146 return;
147 ImGuiIO& io = ImGui::GetIO();
148 io.MouseDrawCursor = IsEditorActive();
149
150 //-- always first
151 RenderDockSpace();
152 RenderMenuBar();
153 RenderDemoWindow();
154
155 for (auto& wnd : m_Windows)
156 if (wnd->m_Opened)
157 wnd->Render();
158}
159
160void CImGuiEditor::RenderDemoWindow() {
161 if (m_bShowDemoWindow)

Callers 1

OnFrameMethod · 0.80

Calls 2

DbgCurrentEnvPausedMethod · 0.80
RenderMethod · 0.45

Tested by

no test coverage detected