StatsOverlay namespace

Functions

auto Styles() -> const GGUI::StyleTable&
The overlay's styles. Lives for the whole process.
void Build(GGUI::UI& ui)
Build the overlay into ui.
void Mount(UIHost& host, PlatformWindowID window)
Mount the overlay in window.
void UseStyles(UIHost& host)
Give host's documents the overlay's styles (the engine theme), reloaded when its file is saved. For a document that builds the overlay among other things.
void Refresh()
Rebuild the overlay if what it should show changed (latency measurement or load injection turned on or off). Any thread; the renderer calls it before each UI update.
auto Reader() -> GGUI::BindingReader
The binding reader for EngineStats.