Skip to content

Bevy plugin for tracking render pipeline status.

License

Notifications You must be signed in to change notification settings

rparrett/bevy_pipelines_ready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.5 0.15
0.4 0.14
0.3 0.13
0.2 0.12
0.1 0.11

Contributing

Please feel free to open a PR.