@wasi-gfx/js-webgpu
v0.2.0
Published
WebGPU JavaScript API on top of wasi-gfx
Readme
wasi-gfx-js implements the official WebGPU JavaScript API on top of WASI
Compile the TypeScript
npm run buildExamples
Available examples:
- hello-compute
- hello-triangle
Compile an example:
npm run example --example=[example]Run an example:
Use github.com/wasi-gfx/graphtime to run ./out/[example].wasm
Generate types from wit
jco types wit --out-dir=types