Learn WebGPU for C++
3 hours ago
- This guide teaches WebGPU for native graphics in C++ from scratch on Windows, Linux, and macOS.
- Users can choose to write WebGPU code from scratch or skip initial boilerplate, and can opt for a C++ styled wrapper (webgpu.hpp) or raw C API (webgpu.h).
- Backend options include wgpu-native (default) or Dawn, selectable via CMake.
- Base code examples range from a simple triangle to a 3D mesh viewer with basic interaction, with additional support for running on the Web.
- Chapter status symbols indicate update level: up-to-date, older version, work in progress, or TODO.
- Contents include Introduction, Getting Started, Basic 3D Rendering, Basic Compute, Advanced Techniques, and Appendices.