Skip to content

ecoricemon/webgpu-tutorial

Repository 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

Explore 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

About

WebGPU examples using WASM/Rust with a bundler

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages