|
Unravel Engine C++ Reference
|
Classes | |
| struct | state |
Functions | |
| void | draw (const rendering::pipeline_stats &pstats, state &overlay_state, const char *id) |
| Draw a statistics overlay child window at the top-right corner of the current ImGui window. Contains multiple collapsible sections showing rendering statistics. Shared between scene and game panels. | |
| void | draw_stats_toggle (state &overlay_state) |
| Draw a right-aligned "Stats" toggle button for the menu bar. Toggles the overlay visibility on click. | |
| void unravel::viewport_stats_overlay::draw | ( | const rendering::pipeline_stats & | pstats, |
| state & | overlay_state, | ||
| const char * | id ) |
Draw a statistics overlay child window at the top-right corner of the current ImGui window. Contains multiple collapsible sections showing rendering statistics. Shared between scene and game panels.
| overlay_state | Persistent state for visibility toggle |
| id | Unique identifier to disambiguate multiple overlays |
Definition at line 483 of file viewport_stats_overlay.cpp.
| void unravel::viewport_stats_overlay::draw_stats_toggle | ( | state & | overlay_state | ) |
Draw a right-aligned "Stats" toggle button for the menu bar. Toggles the overlay visibility on click.
| overlay_state | Persistent state to toggle visibility on |
Definition at line 554 of file viewport_stats_overlay.cpp.