ecoricemon / webgpu-tutorial

WebGPU examples using WASM/Rust and webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webgpu-tutorial

This is a WebGPU + WASM example repo.

  • basic
    WebGPU running on WASM and bundling with Webpack.

    Source code

  • offscreen-on-worker Drawing on web worker using offscreen canvas and wgpu.

    Source code

  • composite-shader
    Test using naga_oil to compose shader sources.

    Source code

  • webgpu-or-webgl
    Check browser support out and choose WebGPU or WebGL.

    Source code

  • wgpu-gl-surfaces
    Trouble shooting for multiple surfaces of wgpu WebGL2 context.

    Source code

About

WebGPU examples using WASM/Rust and webpack

License:Apache License 2.0


Languages

Language:Rust 85.6%Language:JavaScript 5.2%Language:HTML 4.4%Language:WGSL 3.8%Language:Shell 0.9%