This repository contains examples that use wgpu.
Most examples are tested with the latest version of Google Chrome.
Run WebGPU through WebAssembly and bundle the application with Webpack.
Explore when memory layout errors occur and how to resolve them.
Render with wgpu and an offscreen canvas in a web worker.
Use naga_oil to compose shader sources.
Detect browser support and choose between WebGPU and WebGL.
Troubleshoot multiple wgpu surfaces that use a WebGL2 context.