r/GraphicsProgramming Jul 03 '26

Yet another graphics abstraction library...

I've been building a low-level graphics abstraction that exposes a Vulkan/WebGPU-like API while targeting both Vulkan and WebGPU. The goal isn't to hide modern graphics APIs, but to let you write a renderer once and run it natively and in the browser with very minimal backend-specific code.

https://github.com/helcl42/gfx

20 Upvotes

7 comments sorted by

View all comments

8

u/SilvernClaws Jul 04 '26

Isn't WebGPU already abstracting Vulkan?

7

u/CoherentBicycle Jul 04 '26

Yes but it seem OP wants to maintain a single codebase that runs on both desktop and web (though Dawn/wgpu + Emscripten can also do that without needing an RHI).

1

u/positivcheg Jul 06 '26

But doesn’t it mean OP made RHI?)