Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eliemichel/learnwebgpu-code

The accompanying code of the Learn WebGPU C++ programming guide
https://github.com/eliemichel/learnwebgpu-code

cpp graphics lecture-notes webgpu

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        





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](https://eliemichel.github.io/LearnWebGPU) 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++](https://github.com/eliemichel/WebGPU-Cpp).

Building
--------

```
git checkout
cmake . -B build
cmake --build build
```

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