https://github.com/rparrett/bevy_pipelines_ready
Bevy plugin for tracking render pipeline status.
https://github.com/rparrett/bevy_pipelines_ready
bevy game-development rust
Last synced: over 1 year ago
JSON representation
Bevy plugin for tracking render pipeline status.
- Host: GitHub
- URL: https://github.com/rparrett/bevy_pipelines_ready
- Owner: rparrett
- License: other
- Created: 2023-10-05T02:10:56.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-21T14:01:08.000Z (over 1 year ago)
- Last Synced: 2025-04-10T19:28:10.796Z (over 1 year ago)
- Topics: bevy, game-development, rust
- Language: Rust
- Homepage:
- Size: 25.4 KB
- Stars: 17
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bevy_pipelines_ready
[](https://crates.io/crates/bevy_pipelines_ready)
[](https://docs.rs/bevy_pipelines_ready)
[](https://github.com/bevyengine/bevy/blob/main/docs/plugins_guidelines.md#main-branch-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`](examples/states.rs).
## WebGL2 and WebGPU
Install [wasm-server-runner](https://github.com/jakobhellermann/wasm-server-runner).
```bash
# 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.