File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 44
55Live playground: [ jakobhellermann.github.io/bevy_mod_debugdump] ( https://jakobhellermann.github.io/bevy_mod_debugdump )
66
7+ ``` rust
8+ use bevy :: prelude :: * ;
9+ use bevy :: log :: LogPlugin ;
10+
11+ fn main () {
12+ App :: new ()
13+ . add_plugins (DefaultPlugins )
14+ . add_plugins (bevy_mod_debugdump :: CommandLineArgs )
15+ . run ()
16+ }
17+ ```
18+
19+ ```
20+ cargo run -- --dump-update-schedule
21+
22+ Usage: [--dump-update-schedule file] [--dump-render file] [--no-exit]
23+ ```
24+
25+
726## Schedule graph
827
928``` rust
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ pub fn print_render_graph(app: &mut App) {
100100///
101101/// ## Exit the app
102102///
103- /// Use `--exit` to exit the app. This may be useful if one wants to create
104- /// these graphs in script.
103+ /// By default the app will exit after performing the dump. If you want to keep the app running, use `--no-exit`.
105104///
106105/// # Usage
107106///
You can’t perform that action at this time.
0 commit comments