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ยง

FrameRate
Resource containing the FPS (frames per second) diagnostic.
ScreenDiagsPlugin
A plugin that collect diagnostics and updates any Text marked as ScreenDiagsText. Currently only the FPS is displayed.
ScreenDiagsState
The diagnostics state resource.
ScreenDiagsText
The marker on the text to be updated.
ScreenDiagsTextPlugin
A plugin that draws diagnostics on-screen with Bevy UI. Currently only the FPS is displayed.