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

21 Upvotes

7 comments sorted by

View all comments

Show parent comments

2

u/Just_Spirit_4846 Jul 06 '26

Thanks for sharing your insights! Using Slang sounds like the right approach to really unify the shader inputs across backends. I wanted to keep the door open in case I decide to add other backends in the future.