mirror of
https://github.com/bevyengine/bevy
synced 2024-12-20 01:53:12 +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(),
|
||||
// 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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue