![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
ImGui panel that exposes DebugController UI. More...
#include <DebugPanel.h>
Public Member Functions | |
| DebugPanel () | |
| ~DebugPanel () | |
| void | Initialize () |
| void | Shutdown () |
| void | Render () |
| Renders the debug panel window. | |
| void | SetVisible (bool v) |
| Show / hide the panel. | |
| bool | IsVisible () const |
Private Member Functions | |
| void | RenderToolbar () |
| void | RenderBreakpointsList () |
| void | RenderCallStack () |
| void | RenderWatchVariables () |
| void | RenderProfilerSummary () |
Private Attributes | |
| bool | m_visible = true |
ImGui panel that exposes DebugController UI.
Definition at line 24 of file DebugPanel.h.
| Olympe::DebugPanel::DebugPanel | ( | ) |
Definition at line 26 of file DebugPanel.cpp.
| Olympe::DebugPanel::~DebugPanel | ( | ) |
Definition at line 30 of file DebugPanel.cpp.
| void Olympe::DebugPanel::Initialize | ( | ) |
Definition at line 34 of file DebugPanel.cpp.
Referenced by Olympe::BlueprintEditorGUI::Initialize().
Here is the caller graph for this function:
|
inline |
Definition at line 41 of file DebugPanel.h.
References m_visible.
| void Olympe::DebugPanel::Render | ( | ) |
Renders the debug panel window.
Includes toolbar, breakpoints list, call stack, and watch variables.
Definition at line 46 of file DebugPanel.cpp.
References GetComponentTypeID_Static(), m_visible, RenderBreakpointsList(), RenderCallStack(), RenderProfilerSummary(), RenderToolbar(), and RenderWatchVariables().
Referenced by Olympe::BlueprintEditorGUI::RenderFixedLayout().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 186 of file DebugPanel.cpp.
References Olympe::DebugController::Get(), and GetComponentTypeID_Static().
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 231 of file DebugPanel.cpp.
References Olympe::DebugController::Get(), GetComponentTypeID_Static(), Olympe::SubGraphStackFrame::graphName, Olympe::SubGraphStackFrame::isCurrent, Olympe::SubGraphStackFrame::nodeID, and Olympe::SubGraphStackFrame::nodeName.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 339 of file DebugPanel.cpp.
References Olympe::NodeExecutionMetrics::avgTimeMs, Olympe::PerformanceProfiler::Get(), GetComponentTypeID_Static(), and Olympe::PerformanceProfiler::HOTSPOT_THRESHOLD_MS.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 75 of file DebugPanel.cpp.
References Olympe::DebugController::Get(), GetComponentTypeID_Static(), Olympe::NotDebugging, Olympe::Paused, Olympe::Running, Olympe::StepInto, Olympe::StepNext, and Olympe::StepOut.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 271 of file DebugPanel.cpp.
References Olympe::Bool, Olympe::EntityID, Olympe::Float, Olympe::DebugController::Get(), GetComponentTypeID_Static(), Olympe::LocalBlackboard::GetVariableNames(), Olympe::Int, Olympe::String, and Olympe::Vector.
Referenced by Render().
Here is the call graph for this function:
Here is the caller graph for this function:Show / hide the panel.
Definition at line 40 of file DebugPanel.h.
References GetComponentTypeID_Static(), and m_visible.
Here is the call graph for this function:| void Olympe::DebugPanel::Shutdown | ( | ) |
Definition at line 38 of file DebugPanel.cpp.
Referenced by Olympe::BlueprintEditorGUI::Shutdown().
Here is the caller graph for this function:Definition at line 51 of file DebugPanel.h.
Referenced by IsVisible(), Render(), and SetVisible().