1.3 KiB
1.3 KiB
WebGPU for Zig 
Idiomatic Zig bindings to WebGPU, the up-and-coming API which allows for unified access to low-level graphics APIs like Vulkan, Metal, and D3D12 across web, desktop, and mobile devices.
This library is truly cross platform, allowing you to use the same graphics API in the web or natively (desktop & mobile):
- WebAssembly targets: Uses the browser's provided WebGPU API.
- Native targets: supports multiple WebGPU backend implementations:
- Dawn, Chrome's C++ implementation of WebGPU.
- gfx-rs/wgpu-native, the Rust implementation of WebGPU.
webgpu.h version
Both Dawn and gfx-rs/wgpu-native implement a shared common C header, webgpu.h which maps 1:1 with the WebGPU IDL specification.
You can find the version of webgpu.h
currently targeted by this library here.