#web-gpu #render-pipeline

bevy_pipelines_ready

Bevy plugin for tracking render pipeline status

5 releases (3 breaking)

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

#463 in Game dev

Download history 149/week @ 2024-07-01 34/week @ 2024-07-08 10/week @ 2024-07-15 33/week @ 2024-07-22 89/week @ 2024-07-29 10/week @ 2024-08-05 23/week @ 2024-08-12 6/week @ 2024-08-19 6/week @ 2024-08-26 16/week @ 2024-09-09 8/week @ 2024-09-16 47/week @ 2024-09-23 10/week @ 2024-09-30 25/week @ 2024-10-07 94/week @ 2024-10-14

176 downloads per month

MIT/Apache

27KB

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

# WebGPU
cargo run --example states --target=wasm32-unknown-unknown --features=webgpu

Compatibility

bevy_pipelines_ready bevy
0.4 0.14
0.3 0.13
0.2 0.12
0.1 0.11

Contributing

Please feel free to open a PR.

Dependencies

~36–73MB
~1.5M SLoC