This is a native WebGPU implementation in Rust, based on wgpu-core.
The bindings are based on the WebGPU-native header found at ffi/webgpu-headers/webgpu.h
and wgpu-native specific items in ffi/wgpu.h
- 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. Details can be found in the Binary Releases page in the wiki.
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.