Crates.io | bevy_mod_debugdump |
lib.rs | bevy_mod_debugdump |
version | 0.11.1 |
source | src |
created_at | 2021-04-06 19:16:17.320746 |
updated_at | 2024-08-11 09:44:55.584771 |
description | Visualization tools for bevy |
homepage | |
repository | https://github.com/jakobhellermann/bevy_mod_debugdump |
max_upload_size | |
id | 379970 |
size | 195,242 |
Live playground: jakobhellermann.github.io/bevy_mod_debugdump
use bevy::prelude::*;
use bevy::log::LogPlugin;
fn main() {
App::new()
.add_plugins(DefaultPlugins)
.add_plugins(bevy_mod_debugdump::CommandLineArgs)
.run()
}
cargo run -- --dump-update-schedule
Usage: [--dump-update-schedule file] [--dump-render file] [--no-exit]
use bevy::prelude::*;
use bevy::log::LogPlugin;
fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>()); // disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
bevy_mod_debugdump::print_schedule_graph(&mut app, Update);
}
PreUpdate
schedule:
See all schedules at docs/schedule.
use bevy::prelude::*;
use bevy::log::LogPlugin;
fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>());
bevy_mod_debugdump::print_render_graph(&mut app);
}
bevy | bevy_mod_debugdump |
---|---|
0.14 | 0.11 |
0.13 | 0.10 |
0.12 | 0.9 |
0.11 | 0.8 |
0.10 | 0.7 |
0.9 | 0.6 |
0.8 | 0.5 |
0.7 | 0.4 |
0.6 | 0.3 |
0.5 | 0.2 |
0.5 | 0.1 |