WebGPU C++ WASM - Hello triangle
Contact
Ondrej StrnadDescription
This sample combines several technologies. The goal was to have a C++ triangle rendering code using WebGPU that can be compiled both for desktop (using the Dawn library) and web (using WebAssembly and its WebGPU support).
Sources
- Executable (Desktop x64)
- Executable (WASM) Tested with Chrome Canary 92.0.4496.0 with the --enable-unsafe-webgpu flag
- Source Code (zip archive)