2 unstable releases
0.2.0 | Aug 4, 2022 |
---|---|
0.1.0 | May 2, 2022 |
#1878 in Game dev
7KB
USE
use bevy::{
prelude::*,
diagnostic::LogDiagnosticsPlugin,
};
use bevy_diagnostic_vertex_count::{VertexCountDiagnosticsPlugin, VertexCountDiagnosticsSettings};
fn main() {
App::new()
.insert_resource(VertexCountDiagnosticsSettings {
only_visible: true // Set whether only visible meshes should be diagnosed. Defaults to true
})
.add_plugins(DefaultPlugins)
.add_plugin(LogDiagnosticsPlugin::default()) // prints our diagnostics to the console
.add_plugin(VertexCountDiagnosticsPlugin)
.run();
}
VERSIONS
bevy_diagnostic_vertex_count | bevy |
---|---|
0.2 | 0.8 |
0.1 | 0.7 |
LICENSE
Dual-licensed under APACHE-2.0 or MIT
Dependencies
~37–51MB
~894K SLoC