Skip to content

仓库 files navigation

webgpu-tutorial

This repository contains examples that use wgpu.

Most examples are tested with the latest version of Google Chrome.

basic

Run WebGPU through WebAssembly and bundle the application with Webpack.

Go to the source code

layout

探索 when memory layout errors occur and how to resolve them.

Go to the source code

offscreen-on-worker

Render with wgpu and an offscreen canvas in a web worker.

Go to the source code

composite-shader

Use naga_oil to compose shader sources.

Go to the source code

webgpu-or-webgl

Detect browser support and choose between WebGPU and WebGL.

Go to the source code

wgpu-gl-surfaces

Troubleshoot multiple wgpu surfaces that use a WebGL2 context.

Go to the source code

关于

WebGPU examples using WASM/Rust with a bundler

Topics

Resources

Stars

9 stars

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages