qmetrics.net

bgfx

Cross-platform graphics-API-agnostic rendering library

GamingDesktop/CLI app
bgfx screenshot

bgfx is a bring-your-own-engine rendering library that works across many GPUs and operating systems. It exposes C/C++ APIs and bindings in several languages.

Overview

bgfx is a cross-platform rendering library that does not tie you to one graphics API. Teams embed it inside their own engine or framework rather than adopting a full game engine stack.

It can target Direct3D 11 and 12, Metal, OpenGL 4.3+, OpenGL ES 3.0+, Vulkan, WebGL 2.0, and WebGPU through Dawn Native, among other backends. Documented platforms include Android, iOS and iPadOS, Linux, macOS, Windows, UWP, Wasm via Emscripten, Raspberry Pi, and PlayStation 4 for licensed developers.

The project ships API documentation for C and C++, plus language bindings such as C#, Python, Java, Zig, and Rust. Examples cover fonts, shadows, image-based lighting, terrain, and similar graphics tasks.

Windowing can come from SDL, GLFW, or custom code as long as native handles are available for device or context creation. RenderDoc integration on Direct3D 11 and OpenGL supports in-process frame capture.

Key features

  • Multiple GPU rendering backends
  • Bring-your-own-engine integration style
  • C and C++ core API
  • Bindings for many programming languages
  • SDL and GLFW windowing support
  • RenderDoc capture on DX11 and OpenGL
  • Multithreaded renderer with opt-out flag
  • Extensive graphics examples

Use cases

  • Custom game engine rendering
  • Cross-platform game and tool graphics
  • Replacing legacy Direct3D renderers
  • Graphics research and demo projects

Tags

Similar software

Godot

Cross-platform 2D and 3D game engine

Godot Engine lets creators build 2D and 3D games from one editor and export to desktop, mobile, web, and console targets through publishers.

★ 120.9k⟳ yesterdayMIT
Open Source Alternative to:Unity

Project AIRI

Self-hosted AI VTuber and digital companion platform

Project AIRI builds a cyber companion with realtime voice chat, VRM and Live2D avatars, and optional game integrations for web, desktop, and mobile.

★ 51.8k⟳ yesterdayMIT

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Sunshine

Self-hosted Moonlight game streaming host with hardware encoding

Sunshine runs on your machine as a self-hosted streaming host for Moonlight clients, capturing the desktop and encoding video with GPU or software paths.

★ 44k⟳ todayGPL-3.0
GamingSelf-hostable

Claude Code Game Studios

Claude Code template for AI-assisted game development

Claude Code Game Studios is a project template that turns Claude Code into a structured game studio workflow. It asks design questions, writes a brief, and builds browser prototypes you can grow into full projects.

★ 41.2k⟳ 18 days agoMIT

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT