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ยง
- Frame
Rate - Resource containing the FPS (frames per second) diagnostic.
- Screen
Diags Plugin - A plugin that collect diagnostics and updates any
Text
marked as ScreenDiagsText. Currently only the FPS is displayed. - Screen
Diags State - The diagnostics state resource.
- Screen
Diags Text - The marker on the text to be updated.
- Screen
Diags Text Plugin - A plugin that draws diagnostics on-screen with Bevy UI. Currently only the FPS is displayed.