Skip to content

ecoricemon/webgpu-tutorial

Repository files navigation

webgpu-tutorial

This is a repo containing wgpu examples.

Most examples are tested on the latest chrome browser.

basic

WebGPU running on WASM and bundling with Webpack.

Go to the source code

layout

A test file to see when memory layout errors occur and how to resolve them.

Go to the source code

offscreen-on-worker

Drawing on web worker using offscreen canvas and wgpu.

Go to the source code

composite-shader

Test using naga_oil to compose shader sources.

Go to the source code

webgpu-or-webgl

Check browser support out and choose WebGPU or WebGL.

Go to the source code

wgpu-gl-surfaces

Trouble shooting for multiple surfaces of wgpu WebGL2 context.

Go to the source code

About

WebGPU examples using WASM/Rust and webpack

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE.txt
MIT
LICENSE-MIT.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published