From 9c470a97bc1f1bc01977df56eb10eba3e6604135 Mon Sep 17 00:00:00 2001 From: JMS55 <47158642+JMS55@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:13:30 -0800 Subject: [PATCH] Add RenderDiagnosticsPlugin to diagnostics example (#16741) Improve the example. Co-authored-by: Alice Cecile --- examples/diagnostics/log_diagnostics.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/diagnostics/log_diagnostics.rs b/examples/diagnostics/log_diagnostics.rs index e312ad671d12e..d0934c5e3968b 100644 --- a/examples/diagnostics/log_diagnostics.rs +++ b/examples/diagnostics/log_diagnostics.rs @@ -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::::default(), + // Uncomment this to add system info diagnostics: // bevy::diagnostic::SystemInformationDiagnosticsPlugin::default() + + // Uncomment this to add rendering diagnostics: + // bevy::render::diagnostic::RenderDiagnosticsPlugin::default(), )) .run(); }