bevy_mod_debugdump
bevy_mod_debugdump copied to clipboard
bevy_mod_debugdump
Features
Schedule graph
use bevy::prelude::*;
use bevy::log::LogPlugin;
fn main() {
let mut app = App::new();
app.add_plugins_with(DefaultPlugins, |plugins| plugins.disable::<bevy::log::LogPlugin>()); // disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
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_with(DefaultPlugins, |plugins| plugins.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_with(DefaultPlugins, |plugins| plugins.disable::<LogPlugin>());
bevy_mod_debugdump::print_render_schedule(&mut app);
}
Bevy support table
| bevy | bevy_mod_debugdump |
|---|---|
| 0.8 | 0.5 |
| 0.7 | 0.4 |
| 0.6 | 0.3 |
| 0.5 | 0.2 |
| 0.5 | 0.1 |