Skip to main content

fps_display

Function fps_display 

Source
pub fn fps_display() -> String
Expand description

FPS monitoring API - use these to track frame rate for performance optimization.

  • current_fps() - Get current FPS value
  • fps_stats() - Get detailed frame statistics (avg ms, recomps/sec)
  • fps_display() - Get formatted FPS string for display
  • fps_display_detailed() - Get detailed stats string Format FPS as a display string.