Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jakobhellermann/bevy_mod_debugdump


https://github.com/jakobhellermann/bevy_mod_debugdump

Last synced: 25 days ago
JSON representation

Awesome Lists containing this project

README

        

# bevy_mod_debugdump
![Crates.io](https://img.shields.io/crates/v/bevy_mod_debugdump)
![Crates.io](https://img.shields.io/crates/d/bevy_mod_debugdump)

Live playground: [jakobhellermann.github.io/bevy_mod_debugdump](https://jakobhellermann.github.io/bevy_mod_debugdump)

```rust
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]
```

## Schedule graph

```rust
use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.build().disable::()); // disable LogPlugin so that you can pipe the output directly into `dot -Tsvg`
bevy_mod_debugdump::print_schedule_graph(&mut app, Update);
}
```

`PreUpdate` schedule:

Main (filtered)

See all schedules at [docs/schedule](./docs/schedule/README.md).

## Render app

### Render graph

```rust
use bevy::prelude::*;
use bevy::log::LogPlugin;

fn main() {
let mut app = App::new();
app.add_plugins(DefaultPlugins.build().disable::());
bevy_mod_debugdump::print_render_graph(&mut app);
}
```

render graph

### Extract schedule

ExtractSchedule

### Main render schedule

Main

## Bevy support table

|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|