Skip to content

Commit

Permalink
Add RenderDiagnosticsPlugin to diagnostics example (#16741)
Browse files Browse the repository at this point in the history
Improve the example.

Co-authored-by: Alice Cecile <[email protected]>
  • Loading branch information
2 people authored and BD103 committed Dec 10, 2024
1 parent fb19750 commit 9c470a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/diagnostics/log_diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,15 @@ fn main() {
LogDiagnosticsPlugin::default(),
// Any plugin can register diagnostics. Uncomment this to add an entity count diagnostics:
// bevy::diagnostic::EntityCountDiagnosticsPlugin::default(),

// Uncomment this to add an asset count diagnostics:
// bevy::asset::diagnostic::AssetCountDiagnosticsPlugin::<Texture>::default(),

// Uncomment this to add system info diagnostics:
// bevy::diagnostic::SystemInformationDiagnosticsPlugin::default()

// Uncomment this to add rendering diagnostics:
// bevy::render::diagnostic::RenderDiagnosticsPlugin::default(),
))
.run();
}

0 comments on commit 9c470a9

Please sign in to comment.