MCPcopy Create free account
hub / github.com/MrDrElliot/LuminaEngine / OnUpdate

Method OnUpdate

Engine/Editor/Source/UI/EditorUI.cpp:841–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839 bStartupNoticesShown = true;
840#if defined(LE_DEBUG)
841 LOG_WARN("Running a DEBUG build. Performance is greatly reduced; use Development for normal work.");
842 ImGuiX::Notifications::NotifyWarning("Debug build: performance is greatly reduced. Build in Development for normal editing and play.");
843#endif
844 }
845
846 // Global routing yields to a focused window that routes or owns the key, such as the terminal.
847 if (ImGui::Shortcut(ImGuiKey_F5, ImGuiInputFlags_RouteGlobal))
848 {
849 CMaterial::CreateDefaultMaterial();
850 }
851
852 const bool bCaptureFinal = ImGui::Shortcut(ImGuiKey_F9, ImGuiInputFlags_RouteGlobal);
853 const bool bCaptureHDR = ImGui::Shortcut(ImGuiMod_Shift | ImGuiKey_F9, ImGuiInputFlags_RouteGlobal);
854 if (bCaptureFinal || bCaptureHDR)
855 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected