mirror of
https://github.com/bevyengine/bevy
synced 2024-12-29 22:43:14 +00:00
Add RenderDiagnosticsPlugin to diagnostics example (#16741)
Improve the example. Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
This commit is contained in:
parent
854934c380
commit
f3974aaaea
1 changed files with 5 additions and 0 deletions
|
@ -15,10 +15,15 @@ fn main() {
|
||||||
LogDiagnosticsPlugin::default(),
|
LogDiagnosticsPlugin::default(),
|
||||||
// Any plugin can register diagnostics. Uncomment this to add an entity count diagnostics:
|
// Any plugin can register diagnostics. Uncomment this to add an entity count diagnostics:
|
||||||
// bevy::diagnostic::EntityCountDiagnosticsPlugin::default(),
|
// bevy::diagnostic::EntityCountDiagnosticsPlugin::default(),
|
||||||
|
|
||||||
// Uncomment this to add an asset count diagnostics:
|
// Uncomment this to add an asset count diagnostics:
|
||||||
// bevy::asset::diagnostic::AssetCountDiagnosticsPlugin::<Texture>::default(),
|
// bevy::asset::diagnostic::AssetCountDiagnosticsPlugin::<Texture>::default(),
|
||||||
|
|
||||||
// Uncomment this to add system info diagnostics:
|
// Uncomment this to add system info diagnostics:
|
||||||
// bevy::diagnostic::SystemInformationDiagnosticsPlugin::default()
|
// bevy::diagnostic::SystemInformationDiagnosticsPlugin::default()
|
||||||
|
|
||||||
|
// Uncomment this to add rendering diagnostics:
|
||||||
|
// bevy::render::diagnostic::RenderDiagnosticsPlugin::default(),
|
||||||
))
|
))
|
||||||
.run();
|
.run();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue