+5
Daily
17,650
stars
2,165
forks
461
watchers
2,079
prs
1,659
issues
0
releases
README
bgfx - Cross-platform rendering library
============================================================================
What is it? -
Building -
Getting Involved -
Examples -
API Reference -
Tools -
Who is using it? -
License
GitHub Discussions
Discord Chat
GitHub Actions
What is it?
-------------------------------------------------------------
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style
rendering library.
Supported rendering backends:
Direct3D 11
Direct3D 12
GNM (only for licensed PS4 developers, search DevNet forums for source)
Metal
OpenGL 4.3+
OpenGL ES 3.0+
Vulkan
WebGL 2.0
WebGPU (Dawn Native only)
Supported platforms:
Android (4.0+) - API 14 or later
iOS/iPadOS/tvOS (16.0+)
Linux
macOS (13.0+)
PlayStation 4
RaspberryPi
UWP (Universal Windows, Xbox One)
Wasm/Emscripten
Windows (7+)
Supported compilers:
Clang 11 and above
GCC 11 and above
VS2022 and above
Apple clang 12 and above
Languages:
C/C++ API documentation
Beef API bindings
C language API bindings
C3 language API bindings
Python language API bindings
D language API bindings
Go language API bindings
Haskell language API bindings
Lightweight Java Game Library 3 bindings
Java language API bindings
Lua language API bindings
Nim language API bindings
Pascal language API bindings
Rust language API bindings (new)
Swift language API bindings
Zig language API bindings
Who is using it? madewithbgfx
-----------------------------------------------------------------------------------------------------
AirMech
https://www.carbongames.com/airmech-strike - AirMech is a free-to-play
futuristic action real-time strategy video game developed and published by
Carbon Games.
cmftStudio
https://github.com/dariomanesku/cmftStudio - cmftStudio - Cubemap filtering
tool.
!cmftStudio screenshot
Crown
https://github.com/crownengine/crown - Crown is a complete and cross-platform
game engine designed for flexibility, performance, and fast-iterations.
!Crown screenshot
Offroad Legends 2
http://www.dogbytegames.com/ - Dogbyte Games is an indie mobile developer studio
focusing on racing games.
!Offroad Legends 2
Torque6
https://github.com/andr3wmac/Torque6 - Torque 6 is an MIT licensed 3D engine
loosely based on Torque2D. Being neither Torque2D or Torque3D it is the 6th
derivative of the original Torque Engine.
Kepler Orbits
https://github.com/podgorskiy/KeplerOrbits - KeplerOrbits - Tool that calculates
positions of celestial bodies using their orbital elements.
CETech
https://github.com/cyberegoorg/cetech - CETech is a data-driven game engine and
toolbox inspired by Bitsquid/Stingray engine.
!CETech screenshot
ioquake3
https://github.com/jpcy/ioq3-renderer-bgfx - A renderer for ioquake3 written in
C++ and using bgfx to support multiple rendering APIs.
!ioq3-renderer-bgfx screenshot
DLS
http://Top issues
#3947New logo for consideration.21 comments · 2026-08-31#3242Vulkan on Android: the frame isn't updating (ONLY THE FIRST FRAME IS RENDERED)18 comments · 2024-01-23#156Provide shaderc functionality as bgfx utility function.17 comments · 2014-09-24#1068Custom names in varying.def12 comments · 2017-03-07#3171xx-splat - 3D Gaussian Splatting for Real-Time Radiance Field Rendering11 comments · 2023-09-12#2064Support Building for Mac Catalyst (`x86_64h-apple-ios13.x-macabi`)11 comments · 2020-03-12#664Hitching when uploading large textures11 comments · 2016-01-24#2850Render large scene crashed with Vulkan10 comments · 2022-07-27
Discussions
#4107Cheyenne — Custom C++/bgfx 3D Game Engine with Vehicle Physics0 comments · 2026-10-30#4102HarmonyOS support ?0 comments · 2026-10-28#4051Add WebGPU natively1 comments · 2026-10-14#4000Is it possible to do reverse-Z with OpenGL when `ARB_clip_control` is available?1 comments · 2026-09-26#3894Do examples can be installed system-wide on Linux and executed from /usr/bin ?1 comments · 2026-08-15#3837Why does getInternal(TextureHandle) return 0 on the Vulkan backend?1 comments · 2026-07-17#3708Xnpp (xn++) framework0 comments · 2026-05-15#3673bgfx vulkan performance1 comments · 2026-04-19