This project is designed for educational purposes. It is probably not suitable for a production application. The goal is to reduce the boilerplate needed to create a new WebGPU project.
Add the library to your cargo.toml
. Use the tag
key to specify the version.
[dependencies]
wgpu-bootstrap = { git = "https://github.com/qlurkin/wgpu-bootstrap", tag = "v0.4.2" }
bytemuck = { version = "1.18", features = ["derive"] }
You can find examples of project in the example directory
You can run the examples with
cargo run --example triangle
Heavily inspired by the "Learn Wgpu" tutorial