Unravel Engine C++ Reference
Loading...
Searching...
No Matches
viewport_stats_overlay.h File Reference

Go to the source code of this file.

Classes

struct  unravel::viewport_stats_overlay::state
 

Namespaces

namespace  unravel
 
namespace  unravel::viewport_stats_overlay
 

Functions

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.
 
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.