Skip to content

e10b/wgfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

164 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wgfx

wgfx logo

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.

Screenshots

wgfx screenshot 1

wgfx screenshot 2

wgfx screenshot 3

Examples branch

git fetch origin examples
git checkout examples

There you will find the runnable sample applications and their assets.

Build

cmake -S . -B build
cmake --build build

On this branch the configure step builds only the core wgfx library and WebGPU dependency by default.

Licensing

wgfx is dual-licensed:

  • Open Source / Non-Commercial: Licensed under the GNU AGPLv3. If you use wgfx in an open-source project, it's 100% free.
  • Commercial: If you want to use wgfx in a closed-source commercial project, game, or proprietary application, the AGPLv3 terms do not apply, and you must acquire a commercial license. Contact ethan34787@gmail.com for pricing details.

About

wgfx: webgpu made simple

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages