pub fn latency_graph(ui: &mut Ui<'_>)Expand description
Frame-latency graph: the last ~120 frames as stacked per-phase bars
(input / view / layout / render, bottom to top) against the display’s
frame budget (env.refresh_hz, 120 Hz fallback) — a bar that blows the
budget turns red. Feed core.stats (and core.env) from your frame
driver (the built-in runner does this automatically).