mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
Cross-platform, safe, pure-rust graphics api.
8f312af8e6
39: Remove generic and option from render pass descriptor r=kvark a=grovesNL - Temporarily lock cbindgen to known working revision until a new version is published - Remove generic and `Option` from `RenderPassDescriptor`, map between wgpu/wgpu-native types like other descriptors, and add a missing length field (this appears necessary to generate bindings) - Regenerate bindings (using `a7be40c65 2018-12-26`, earlier versions should work too) - Remove `+nightly` for bindings generation from Makefile, because newer nightlies won't work at the moment - Fix typo in Makefile `clean` Co-authored-by: Joshua Groves <josh@joshgroves.com> |
||
---|---|---|
examples | ||
wgpu-bindings | ||
wgpu-native | ||
wgpu-rs | ||
.gitignore | ||
.travis.yml | ||
bors.toml | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
Makefile | ||
README.md | ||
rustfmt.toml |
WebGPU
This is an experimental WebGPU implementation as a native static library. It's written in Rust and is based on gfx-hal and satellite libraries. The corresponding WebIDL specification can be found at gpuweb project.
The implementation consists of the following parts:
wgpu-native
- the native implementation of WebGPU as a C API librarywgpu-bindings
- automatic generator of actual C headerswgpu-remote
- remoting layer to work with WebGPU across the process boundarywgpu-rs
- idiomatic Rust wrapper of the native library