bevy_mod_debugdump
Features
Schedule graph
use bevy::prelude::*;
use bevy::log::LogPlugin;
fn main() {
let mut app = App::new();
// disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
app.add_plugins(DefaultPlugins.build().disable::<LogPlugin>());
bevy_mod_debugdump::print_schedule(&mut app);
}
Render Graph
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);
}
Render schedule graph
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_schedule(&mut app);
}
Bevy support table
bevy | bevy_mod_debugdump |
---|---|
0.9 | 0.6 |
0.8 | 0.5 |
0.7 | 0.4 |
0.6 | 0.3 |
0.5 | 0.2 |
0.5 | 0.1 |