Aims to auto-generate a Zig wrapper of wgpu-native with object notation and error unions.
- Zig 58.8%
- C 39.8%
- Nix 1.4%
| build | ||
| vendor | ||
| .envrc | ||
| .gitignore | ||
| .gitmodules | ||
| bindings.zig | ||
| build.zig | ||
| build.zig.zon | ||
| build.zig.zon.nix | ||
| build.zig.zon2json-lock | ||
| flake.lock | ||
| flake.nix | ||
| preprocessed.h | ||
| readme.md | ||
Run clang -E -I vendor/wgpu-native/ffi/webgpu-headers vendor/wgpu-native/ffi/wgpu.h -o preprocessed.h, then zig translate-c preprocessed.h > bindings.zig to get initial bindings manually.
WIP.