A Rust crate that abstracts over the wgpu crate to provide greatly simplified rendering functionality for a modern vertex/fragment shader pipeline. The quads example shows how to use the crate. You can run it with:
$ cargo run --release --all-features --example quads_main_threadAlternatively, you can run the same example in a background thread:
$ cargo run --release --all-features --example quads_render_threadThis crate is based on the first part of this excellent tutorial and tries to neatly organise all the moving pieces and provide a straightforward interface. The cost of this simplification is flexibility. If you need anything more than a conventional vertex/fragment shader pipeline (with textures) then you'll want something else.
Currently this crate has no documentation and isn't published so you'll need to clone it or depend on it from GitHub if you want to use it. For example:
# Cargo.toml
[dependencies]
renderer = { git = "https://github.com/tuzz/renderer }
MIT