This is a native WebGPU implementation in Rust, based on wgpu-core.
The C API header is generated at ffi/wgpu.h
by cbindgen.
- gfx-rs/wgpu-rs - idiomatic Rust wrapper with a few more examples to get a feel of the API
- pygfx/wgpu-py - Python wrapper
- bindc-wgpu - D wrapper (package)
- porky11/wgpu - experimental Scopes wrapper
- cshenton/WebGPU.jl - experimental Julia wrapper
- kgpu/wgpuj - Java/Kotlin wrapper
Note: the version numbers of wgpu-native
are not aligned with versions of wgpu
or other crates!
- Automated 32 and 64-bit builds for MacOS, Windows and Linux are available as Github releases.
This repository contains C-language examples that link to the native library targets and perform basic rendering and computation. Please refer to our Getting Started page at the wiki for more information.