dorkhub

LearnWebGPU-Code

The accompanying code of the Learn WebGPU C++ programming guide

eliemichel
17036 forksMITupdated 10 months ago
visit the demogit clone https://github.com/eliemichel/LearnWebGPU-Code.giteliemichel/LearnWebGPU-Code
Learn WebGPU Logo

LearnWebGPU  |  WebGPU-C++  |  WebGPU-distribution
glfw3webgpu  |  sdl2webgpu  |  sdl3webgpu

Discord | Join us!

LearnWebGPU - Code

This repository contains the reference code base accompanying the Learn WebGPU web book.

Each step of the book is stored in a different branch. You can look at them incrementally, or compare them using GitHub's branch comparator.

NB From step030 on, there is a vanilla version that only uses webgpu.h and the default version relies on the shallow C++ wrapper webgpu.hpp generated by WebGPU-C++.

Building

git checkout <the branch of your choice>
cmake . -B build
cmake --build build

Then run either ./build/App (linux/macOS/MinGW) or build\Debug\App.exe (MSVC).

more like this

urge

The Universal Ruby Game Engine (URGE) Project

C++50

WebGPU-Lab

Demos and experiments in WebGPU technology. Focus on compute shaders.

TypeScript50

search

search projects, people, and tags