Crate bevy_screen_diags
source ·Expand description
Add a diagnostics overlay in Bevy.
This crate provides a Bevy plugin, ScreenDiagsPlugin to add a resource, ScreenDiagsState, containing the information diagnostic, and the more comprehensive ScreenDiagsTextPlugin to create and update the diagnostics text overlay.
Currently the only diagnostic show is FPS (frames per second).
Structs
- Resource containing the FPS (frames per second) diagnostic.
- A plugin that collect diagnostics and updates any
Text
marked as ScreenDiagsText. Currently only the FPS is displayed. - The diagnostics state resource.
- The marker on the text to be updated.
- A plugin that draws diagnostics on-screen with Bevy UI. Currently only the FPS is displayed.