bgfx
Visit resource ↗Description
bgfx is Branimir Karadzic's cross-platform rendering library on GitHub, described as bring-your-own-engine middleware rather than a full game engine. A unified C/C++ API wraps many backends while scene management and gameplay stay in the host application.
Backends include Direct3D 11 and 12, Metal, OpenGL and GLES, Vulkan, WebGL 2, and WebGPU via Dawn, with platform support across desktop, mobile, UWP, Wasm, and consoles where licensed. Optional bindings exist for C#, Rust, Lua, and other languages listed in the README.
The scope stops at draw calls, buffers, shaders, and views. Physics, audio, and asset pipelines remain external, which keeps bgfx common inside custom engines and tools.
BSD 2-Clause licensing, CI builds, examples, and Discord support accompany the online API reference at bkaradzic.github.io/bgfx.
Widely linked in graphics and indie engine circles as a pragmatic way to avoid maintaining multiple API backends yourself.