Skip to main content

Module frame_rate

Module frame_rate 

Source
Expand description

The frame-rate readout, toggled from the ⌘K palette (“Diagnostics: frame rate”): frames in the last second, what the last frame spent in the kernel and on the canvas, and the slowest frame of the second.

The editor draws only when something changes, so at rest the readout stands on the last frame it saw: it reads the rate of a drag or a pan, not of an idle page.

Re-exports§

pub use FrameRateBadge_completions::Component::FrameRateBadge;

Structs§

FrameRateBadgeProps
Properties for the FrameRateBadge component.

Functions§

FrameRateBadge
Props
millis 🔒