#render-pipeline #bevy #bevy-plugin #gamedev #status #tracking #ready

bevy_pipelines_ready

Bevy plugin for tracking render pipeline status

4 releases (2 breaking)

0.3.0 Feb 20, 2024
0.2.0 Nov 5, 2023
0.1.1 Oct 5, 2023
0.1.0 Oct 5, 2023

#606 in Game dev

Download history 1/week @ 2023-12-25 192/week @ 2024-02-19 31/week @ 2024-02-26 7/week @ 2024-03-04 21/week @ 2024-03-11 92/week @ 2024-04-01

115 downloads per month

MIT/Apache

26KB

bevy_pipelines_ready

crates.io docs Bevy tracking

A tiny Bevy plugin that counts the number of render pipelines that are ready and makes that data available as a resource in the main world.

This is useful for creating a nice loading experience for your Bevy app, especially on the web where execution is single-threaded and pipeline building is disruptive.

Usage

See examples/states.rs.

WebGL2 and WebGPU

Install wasm-server-runner.

# WebGL
cargo run --example states --target=wasm32-unknown-unknown --features=bevy/webgl2

# WebGPU
RUSTFLAGS=--cfg=web_sys_unstable_apis cargo run --example states --target=wasm32-unknown-unknown --features=bevy/webgpu

Compatibility

bevy_pipelines_ready bevy
0.3 0.13
0.2 0.12
0.1 0.11

Contributing

Please feel free to open a PR.

Dependencies

~39–80MB
~1M SLoC