Skip to content

Commit

Permalink
Add RenderDiagnosticsPlugin to diagnostics example (bevyengine#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
JMS55 and alice-i-cecile authored Dec 10, 2024
1 parent 854934c commit f3974aa
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 f3974aa

Please sign in to comment.