wgfx is a lightweight C++ WebGPU graphics framework focused on practical rendering and compute workflows.
This branch holds the library (src/), its WebGPU dependency (deps/webgpu), the optional SDL-to-WebGPU bridge, and CMake wiring. Runnable C++ samples are maintained on the examples branch so the default clone stays small.
git fetch origin examples
git checkout examplesThere you will find the runnable sample applications and their assets.
cmake -S . -B build
cmake --build buildOn this branch the configure step builds only the core wgfx library and WebGPU dependency by default.
wgfx is dual-licensed:
- Open Source / Non-Commercial: Licensed under the GNU AGPLv3. If you use
wgfxin an open-source project, it's 100% free. - Commercial: If you want to use
wgfxin a closed-source commercial project, game, or proprietary application, the AGPLv3 terms do not apply, and you must acquire a commercial license. Contactethan34787@gmail.comfor pricing details.