mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
Cross-platform, safe, pure-rust graphics api.
fa37cdc9c2
33: Add `repr(transparent)` to buffer usage flags r=kvark a=grovesNL 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