Skip to content

IceSentry/bevy_prototype_frametime_display_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bevy_debug_overlay

A simple plugin to show the various information like fps and frametimes.

The frametime is represented by a bar graph. Each bar will scale and change it's color based on the associated delta time. A bigger bar means a longer delta time.

Based on https://asawicki.info/news_1758_an_idea_for_visualization_of_frame_times

Demo

Usage

  • add the OverlayPlugin to your app
  • Spawn a camera with a CameraOverlay tag component

For a more detailed example see 3d_scene

Bevy Version Support

Currently this only tracks the main branch of bevy

bevy bevy_prototype_frametime_display_plugin
main 0.1

Future ideas

Instead of only looking at frametimes combine a few measurements in a stack graph like this https://developer.android.com/topic/performance/rendering/inspect-gpu-rendering

About

A bevy plugin to display the frametime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages