Convert Figma logo to code with AI

bkaradzic logobgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

14,858
1,929
14,858
304

Top Related Projects

12,827

A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

60,541

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

22,183

A simple and easy-to-use library to enjoy videogames programming

6,830

minimal cross-platform standalone C headers

17,590

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

90,206

Godot Engine – Multi-platform 2D and 3D game engine

Quick Overview

BGFX is a cross-platform, graphics API agnostic rendering library. It provides a high-performance, lightweight framework for developing graphical applications and games, supporting multiple rendering backends such as Direct3D, OpenGL, and Vulkan.

Pros

  • Cross-platform compatibility (Windows, macOS, Linux, iOS, Android, and web browsers)
  • Support for multiple rendering APIs (Direct3D 9/11/12, Metal, OpenGL, OpenGL ES, and Vulkan)
  • Efficient and lightweight design, suitable for both desktop and mobile applications
  • Active development and community support

Cons

  • Steeper learning curve compared to higher-level graphics frameworks
  • Limited built-in scene management features
  • Documentation could be more comprehensive for beginners
  • Requires manual memory management in some cases

Code Examples

  1. Initializing BGFX:
#include <bgfx/bgfx.h>
#include <bgfx/platform.h>

// Initialize BGFX
bgfx::Init init;
init.type = bgfx::RendererType::Count; // Auto-select renderer
init.resolution.width = 800;
init.resolution.height = 600;
bgfx::init(init);
  1. Creating and setting a vertex buffer:
// Define vertex structure
struct PosColorVertex
{
    float x, y, z;
    uint32_t abgr;
};

// Create vertex buffer
static PosColorVertex s_cubeVertices[] = {
    {-1.0f,  1.0f,  1.0f, 0xff000000},
    { 1.0f,  1.0f,  1.0f, 0xff0000ff},
    // ... more vertices ...
};

bgfx::VertexBufferHandle vbh = bgfx::createVertexBuffer(
    bgfx::makeRef(s_cubeVertices, sizeof(s_cubeVertices)),
    PosColorVertex::ms_layout
);

// Set vertex buffer
bgfx::setVertexBuffer(0, vbh);
  1. Rendering a frame:
// Set view rectangle and clear color
bgfx::setViewRect(0, 0, 0, uint16_t(width), uint16_t(height));
bgfx::setViewClear(0, BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH, 0x303030ff, 1.0f, 0);

// Submit primitive for rendering
bgfx::submit(0, program);

// Advance to next frame
bgfx::frame();

Getting Started

  1. Clone the BGFX repository:

    git clone https://github.com/bkaradzic/bgfx.git
    cd bgfx
    
  2. Build BGFX (example for Windows using Visual Studio):

    ..\bx\tools\bin\windows\genie vs2019
    
  3. Open the generated solution file in Visual Studio and build the project.

  4. Include BGFX in your project:

    #include <bgfx/bgfx.h>
    #include <bgfx/platform.h>
    
  5. Initialize BGFX in your application:

    bgfx::Init init;
    init.type = bgfx::RendererType::Count;
    init.resolution.width = 800;
    init.resolution.height = 600;
    bgfx::init(init);
    
  6. Start rendering your graphics using BGFX API calls.

Competitor Comparisons

12,827

A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input

Pros of GLFW

  • Simpler API focused on window creation and input handling
  • Lightweight and easy to integrate into existing projects
  • Well-established and widely used in the industry

Cons of GLFW

  • Limited to window management and input handling
  • Requires additional libraries for rendering (e.g., OpenGL, Vulkan)
  • Less cross-platform support compared to BGFX

Code Comparison

GLFW (Window creation):

#include <GLFW/glfw3.h>

int main() {
    glfwInit();
    GLFWwindow* window = glfwCreateWindow(640, 480, "GLFW Window", NULL, NULL);
    glfwMakeContextCurrent(window);
    // Main loop and rendering code here
    glfwTerminate();
    return 0;
}

BGFX (Initialization):

#include <bgfx/bgfx.h>

int main() {
    bgfx::Init init;
    init.type = bgfx::RendererType::Count;
    init.resolution.width = 640;
    init.resolution.height = 480;
    bgfx::init(init);
    // Rendering code here
    bgfx::shutdown();
    return 0;
}

GLFW focuses on window management, while BGFX provides a more comprehensive graphics API with built-in rendering capabilities. GLFW is simpler to use for basic windowing needs, but BGFX offers more advanced features and cross-platform support for graphics programming.

60,541

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

Pros of ImGui

  • Lightweight and easy to integrate into existing projects
  • Immediate mode GUI, allowing for rapid prototyping and dynamic interfaces
  • Extensive documentation and examples

Cons of ImGui

  • Limited to 2D interfaces, lacking 3D rendering capabilities
  • Requires more manual layout management compared to retained mode GUIs
  • Less suitable for complex, large-scale applications

Code Comparison

ImGui:

ImGui::Begin("Hello, world!");
ImGui::Text("This is some useful text.");
ImGui::Button("Save");
ImGui::End();

BGFX:

bgfx::init();
bgfx::setViewClear(0, BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH, 0x303030ff, 1.0f, 0);
bgfx::touch(0);
bgfx::frame();

Key Differences

  • ImGui focuses on immediate mode GUI creation, while BGFX is a cross-platform rendering library
  • BGFX provides low-level graphics API abstraction, whereas ImGui is specifically for user interfaces
  • ImGui is more suitable for rapid UI prototyping, while BGFX is better for building custom rendering pipelines

Use Cases

  • ImGui: Debug interfaces, tools, and simple application GUIs
  • BGFX: Game engines, 3D applications, and custom rendering solutions
22,183

A simple and easy-to-use library to enjoy videogames programming

Pros of raylib

  • Simpler API and easier learning curve for beginners
  • Built-in support for audio and input handling
  • Comprehensive documentation and examples

Cons of raylib

  • Less flexible and customizable than bgfx
  • Limited support for advanced rendering techniques
  • Fewer platform-specific optimizations

Code Comparison

raylib example:

#include "raylib.h"

int main(void)
{
    InitWindow(800, 450, "raylib [core] example");
    while (!WindowShouldClose())
    {
        BeginDrawing();
            ClearBackground(RAYWHITE);
            DrawText("Hello, World!", 190, 200, 20, LIGHTGRAY);
        EndDrawing();
    }
    CloseWindow();
    return 0;
}

bgfx example:

#include <bgfx/bgfx.h>
#include <bx/math.h>

int main()
{
    bgfx::Init init;
    init.type = bgfx::RendererType::Count;
    init.resolution.width = 800;
    init.resolution.height = 600;
    bgfx::init(init);
    // Additional setup and rendering code...
    bgfx::shutdown();
    return 0;
}

The raylib example demonstrates its simplicity and ease of use, while the bgfx example shows its more low-level approach, requiring additional setup but offering more control over the rendering process.

6,830

minimal cross-platform standalone C headers

Pros of sokol

  • Simpler and more lightweight, focusing on ease of use
  • Single-header library design for easy integration
  • Cross-platform support with a consistent API across different backends

Cons of sokol

  • Less feature-rich compared to bgfx
  • Smaller community and ecosystem
  • Limited advanced rendering techniques out of the box

Code Comparison

sokol:

#include "sokol_gfx.h"

sg_pipeline pip = sg_make_pipeline(&(sg_pipeline_desc){
    .shader = shd,
    .layout = {
        .attrs = {
            [0] = { .format=SG_VERTEXFORMAT_FLOAT3 }
        }
    }
});

bgfx:

#include <bgfx/bgfx.h>

bgfx::ShaderHandle vsh = bgfx::createShader(
    bgfx::makeRef(vs_data, vs_size)
);
bgfx::ProgramHandle program = bgfx::createProgram(vsh, fsh);

Summary

sokol is a lightweight, easy-to-use graphics library with a focus on simplicity and cross-platform consistency. It's ideal for smaller projects or developers who prefer a straightforward API. bgfx, on the other hand, offers a more comprehensive set of features and advanced rendering capabilities, making it suitable for larger, more complex projects. The choice between the two depends on the specific requirements of your project and your preferred development approach.

17,590

Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2

Pros of Filament

  • More comprehensive PBR rendering pipeline with advanced features
  • Better integration with Android and iOS platforms
  • Extensive documentation and examples for easier adoption

Cons of Filament

  • Larger codebase and potentially steeper learning curve
  • Less flexible for low-level customization
  • More opinionated design, which may not suit all project needs

Code Comparison

Filament

FilamentApp& app = FilamentApp::get();
Renderer* renderer = app.getRenderer();
Scene* scene = app.getScene();
View* view = app.getView();

renderer->render(view);

BGFX

bgfx::init();
bgfx::setViewClear(0, BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH, 0x303030ff, 1.0f, 0);
bgfx::setViewRect(0, 0, 0, uint16_t(width), uint16_t(height));

bgfx::frame();

Summary

Filament offers a more feature-rich rendering pipeline with better mobile platform support, while BGFX provides a more lightweight and flexible approach. Filament's code tends to be more abstracted and object-oriented, whereas BGFX offers a more direct, low-level API. The choice between the two depends on project requirements, target platforms, and desired level of control over the rendering process.

90,206

Godot Engine – Multi-platform 2D and 3D game engine

Pros of Godot

  • Complete game engine with built-in editor, scripting, and asset management
  • Cross-platform support for multiple desktop, mobile, and web platforms
  • Large and active community with extensive documentation and tutorials

Cons of Godot

  • Steeper learning curve for developers familiar with low-level graphics programming
  • Less flexibility for custom rendering pipelines compared to a bare-bones graphics library
  • Potentially higher overhead for simple projects that don't require a full engine

Code Comparison

Godot (GDScript):

extends Sprite

func _ready():
    position = Vector2(100, 100)
    scale = Vector2(2, 2)

bgfx (C++):

bgfx::init(init);
bgfx::setViewClear(0, BGFX_CLEAR_COLOR | BGFX_CLEAR_DEPTH, 0x443355FF, 1.0f, 0);
bgfx::setViewRect(0, 0, 0, uint16_t(width), uint16_t(height));

Godot provides a higher-level abstraction for game development, while bgfx offers more direct control over rendering at the cost of additional complexity. The choice between them depends on project requirements and developer preferences.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

bgfx - Cross-platform rendering library

What is it? - Building - Getting Involved - Examples - API Reference - Tools - Who is using it? - License

GitHub Actions License Join the chat at https://discord.gg/9eMbv7J

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 2.1
  • OpenGL 3.1+
  • OpenGL ES 2
  • OpenGL ES 3.1
  • Vulkan
  • WebGL 1.0
  • WebGL 2.0

Supported platforms:

  • Android (14+)
  • 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 8 and above
  • VS2019 and above
  • Apple clang 12 and above

Languages:

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.

AirMech screenshot

cmftStudio

https://github.com/dariomanesku/cmftStudio - cmftStudio - Cubemap filtering tool.

cmftStudio screenshot

Crown

https://github.com/dbartolini/crown - Crown is a general purpose data-driven game engine, written from scratch with a minimalistic and data-oriented design philosophy in mind.

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.

Torque 6 Material Editor

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://makingartstudios.itch.io/dls - DLS, the digital logic simulator game.

DLS - Creating a 4-bit Register

http://dls.makingartstudios.com/sandbox/ - DLS: The Sandbox.

DLS: The Sandbox screenshot

MAME

https://github.com/mamedev/mame - MAME - Multiple Arcade Machine Emulator.

MAME screenshot

Blackshift

https://blackshift.itch.io/blackshift - Blackshift is a grid-based, space-themed action puzzle game which isn't afraid of complexity - think Chip's Challenge on crack.

Blackshift Trailer, May 2016

Real-Time Polygonal-Light Shading with Linearly Transformed Cosines

https://eheitzresearch.wordpress.com/415-2/ - Real-Time Polygonal-Light Shading with Linearly Transformed Cosines, Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt, ACM SIGGRAPH 2016.

Real-Time Polygonal-Light Shading with Linearly Transformed Cosines

Dead Venture

http://www.dogbytegames.com/dead_venture.html - Dead Venture is a new Drive 'N Gun game where you help a handful of survivals reach the safe haven: a military base on a far island.

Dead Venture - Gameplay Teaser (iOS / Android)

REGoth

https://github.com/degenerated1123/REGoth - REGoth is an open-source reimplementation of the zEngine, used by the game "Gothic" and "Gothic II".

REGoth Engine

Ethereal Engine

https://github.com/volcoma/EtherealEngine - EtherealEngine is a C++ game engine and WYSIWYG dditor.

EtherealEngine screenshot

Go Rally

http://gorallygame.com/ - Go Rally is top-down rally game with a career mode, multiplayer time challenges, and a track creator.

Go Rally

vg-renderer

https://github.com/jdryg/vg-renderer#vg-renderer - vg-renderer is a vector graphics renderer for bgfx, based on ideas from both NanoVG and ImDrawList (Dear ImGUI).

vg-renderer screenshot

Zombie Safari

http://www.dogbytegames.com/zombie_safari.html - Do what you please in this open-world offroad driving game: explore massive landscapes, complete challenges, smash zombies, find secret locations, unlock and upgrade cars and weapons, it's up to you!

Zombie Safari - Official Gameplay Trailer (Android)

Smith and Winston

http://www.smithandwinston.com/ - Smith and Winston is an exploration twin stick shooter for PC, PS4 & XBoxOne arriving in late 2018. Smith and Winston features a massively destructable voxel world, rapid twin stick combat, physics puzzles and Metroid-style discovery.

Smith and Winston: Gameplay Video

Football Manager 2018

http://www.footballmanager.com/ - Football Manager 2018 is a 2017 football management simulation video game developed by Sports Interactive and published by Sega.

Match Engine | Football Manager 2018

WonderWorlds

http://wonderworlds.me/ - WonderWorlds is a place to play thousands of user-created levels and stories, make your own using the extensive in-game tools and share them with whomever you want.

WonderWorlds

two-io / mud

https://hugoam.github.io/two-io/ - An all-purpose c++ app prototyping library, focused towards live graphical apps and games.

two-io / mud screenshot

Talking Tom Pool

https://outfit7.com/apps/talking-tom-pool/ - A "sling and match" puzzle game for mobile devices.

Talking Tom Pool

GPlayEngine

https://github.com/fredakilla/GPlayEngine#gplayengine - GPlayEngine is a C++ cross-platform game engine for creating 2D/3D games based on the GamePlay 3D engine v3.0.

GPlayEngine screenshot

Off The Road

http://www.dogbytegames.com/off_the_road.html - A sandbox off-road driving simulator.

Off The Road

Coal Burnout

https://beardsvibe.com/ - A multiplayer PVP rhythm game.

Coal Burnout screenshot

My Talking Tom 2

https://outfit7.com/apps/my-talking-tom-2/ - Many mini games for mobile devices.

My Talking Tom 2

NeoAxis Engine

https://www.neoaxis.com/ - Versatile 3D project development environment.

NeoAxis Engine screenshot

xatlas

https://github.com/jpcy/xatlas#xatlas - Mesh parameterization library.

xatlas screenshot

Heroes of Hammerwatch

https://store.steampowered.com/app/677120/Heroes_of_Hammerwatch/ - Heroes of Hammerwatch is a rogue-lite action-adventure game set in the same universe as Hammerwatch. Encounter endless hordes of enemies, traps, puzzles, secrets and lots of loot, as you battle your way through procedurally generated levels to reach the top of the Forsaken Spire.

Heroes of Hammerwatch

Babylon Native

https://github.com/BabylonJS/BabylonNative#babylon-native - Build cross-platform native applications with the power of the Babylon.js JavaScript framework.

Nira

https://nira.app/ - Instantly load and view assets on any device. All you need is a web browser.

SIGGRAPH 2019: Project Nira: Instant Interactive Real-Time Access to Multi-Gigabyte Sized 3D Assets on Any Device: https://s2019.siggraph.org/presentation/?sess=sess104&id=real_130#038;id=real_130

Heroes of Hammerwatch

openblack

https://github.com/openblack/openblack#openblack - An open-source reimplementation of the game Black & White (2001).

openblack screenshot

Cluster

https://github.com/pezcode/Cluster#cluster - Implementation of Clustered Shading and Physically Based Rendering with the bgfx rendering library.

Cluster screenshot

NIMBY Rails

https://store.steampowered.com/app/1134710/NIMBY_Rails/ - NIMBY Rails is a management and design sandbox game for railways you build in the real world.

NIMBY Rails screenshot

Minecraft

https://www.minecraft.net/zh-hant/attribution/

Minecraft screenshot

FFNx

https://github.com/julianxhokaxhiu/FFNx#ffnx - Next generation driver for Final Fantasy VII and Final Fantasy VIII (with native Steam 2013 release support!)

FFVIII screenshot

Shadow Gangs

https://www.microsoft.com/en-gb/p/shadow-gangs/9n6hkcr65qdq - Shadow Gangs is an arcade style ninja action game.

Shadow Gangs screenshot

Growtopia

https://growtopiagame.com/ - Growtopia is a free-to-play sandbox MMO game with almost endless possibilities for world creation, customization and having fun with your friends. Enjoy thousands of items, challenges and events.

Growtopia screenshot

Galaxy Trucker

https://galaxytrucker.com/ - Digital implementation of tabletop spaceship building in real-time or turn-based mode, then surviving space adventures, with AI opponents, multiplayer, achievements and solo campaign.

Galaxy Trucker screenshot

Through the Ages

https://throughtheages.com/ - The card tabletop deep strategy game in your devices. Lead your civilization from pyramids to space flights. Challenges, achievements, skilled AIs and online multiplayer.

Through the Ages screenshot

Codenames

https://codenamesgame.com/ - One of the best party games. Two rival spymasters know the secret identities of 25 agents. Their teammates know the agents only by their codenames. Simple to explain, easy to understand, challenging gameplay.

Codenames screenshot

PeakFinder

https://www.peakfinder.org/ - PeakFinder shows the names of all mountains and peaks with a 360° panorama display. More than 850'000 peaks - from Mount Everest to the little hill around the corner.

PeakFinder screenshot

Ember Sword

https://embersword.com - Ember Sword is a free to play MMORPG running directly in your browser and is being developed and published by Bright Star Studios.

Ember Sword screenshot

Off The Road Unleashed

https://www.nintendo.com/games/detail/off-the-road-unleashed-switch/ - Off The Road Unleashed is a sandbox driving game for the Nintendo Switch. If you see a vehicle you bet you can hop into it! Pilot big rigs, helicopters, boats, airplanes or even trains. Sand dunes, frozen plains, mountains to climb and conquer.

Off The Road Unleashed

Guild Wars 2

https://www.guildwars2.com/ - Guild Wars 2 is an online role-playing game with fast-paced action combat, a rich and detailed universe of stories, awe-inspiring landscapes to explore, two challenging player vs. player modes—and no subscription fees!

Guild Wars 2 screenshot

Griftlands

https://klei.com/games/griftlands - Griftlands is a roguelike deck-building game with role-playing story elements in a science fiction setting, developed and published by Klei Entertainment.

Griftlands

HARFANG 3D

https://www.harfang3d.com - HARFANG® 3D is a BGFX-powered 3D visualization framework for C++, Python, Go, and Lua. It comes with a 3D editor, HARFANG Studio.

HARFANG Studio screenshot

Marine Melodies / Resistance

https://www.pouet.net/prod.php?which=91906 - Demoscene musicdisk released at Evoke 2022 demoparty.

https://github.com/astrofra/demo-marine-melodies

Marine Melodies

Activeworlds

https://www.activeworlds.com/ - Activeworlds is an online VR platform with rich multimedia and presentation features. Create your own worlds or build in free community worlds, hold your own event / meeting or join inworld events!

Activeworlds screenshot

Equilibrium Engine

https://github.com/clibequilibrium/EquilibriumEngine - Equilibrium Engine is a data-oriented and multi-threaded C11 Game Engine with libraries & shaders hot-reloading.

Equilibrium Engine screenshot

Pinhole Universe

https://festina-lente-productions.com/pinhole-universe/ - Explore a generated world where you can zoom in on anything, forever.

Pinhole Universe capsule image

Unavowed (Nintendo Switch version only)

https://www.nintendo.com/us/store/products/unavowed-switch/ - A demon has possessed you and used your body to tear a swath of bloodshed through New York. You are now free, but life as you knew it is over. Your only path forward is joining the Unavowed - an ancient society dedicated to stopping evil. No matter what the cost.

Unavowed Title

The Excavation of Hob's Barrow (Nintendo Switch version only)

https://www.nintendo.com/us/store/products/the-excavation-of-hobs-barrow-switch/ - A folk horror narrative-driven adventure. Explore the isolated moors of rural Victorian England as you uncover the mysteries of Hob's Barrow. The answers lie in the soil...

The Excavation of Hob's Barrow Title

Primordia (Nintendo Switch version only)

https://www.nintendo.com/us/store/products/primordia-switch/ - Life has ceased. Man is but a myth. And now, even the machines have begun to fail. Lead Horatio Nullbuilt and his sarcastic sidekick Crispin on a journey through the crumbling world of Primordia, facing malfunctioning robots, ancient secrets, and an implacable, power-hungry foe.

Primordia Title

ProtoTwin

https://prototwin.com - Online industrial simulation software for manufacturing and material handling.

ProtoTwin - Simulation for Industrial Automation

WARCANA

WARCANA is a fantasy inspired base defence, RTS game with a deck-building mechanic. Face hundreds of thousands of unrelenting monsters in a battle royale between 30 other mighty magicians. Build your deck. Prepare your defences. Summon your armies. Survive the onslaught.

WARCANA Announcement Trailer

DiskBoard

https://www.diskboard.com - DiskBoard is the ultimate tool that can help you measure the performance and monitor the health of your hardware. All of your devices are presented in a clean and easy to understand view. The tests offer extensive customization options, allowing you to simulate various workloads. The intuitive visuals provide clear insights, benchmark comparisons, and performance guidelines. Join a community of tech enthusiasts, compare your device's prowess, and witness your hardware shine!

Diskboard screenshot

Ant

https://github.com/ejoy/ant - Ant is an open-source game engine focused on mobile platforms. It is implemented based on Lua, with excellent performance and easy customization.

Red Frontier Game using Ant Game Engine

RedFrontier

Crypt of the NecroDancer

https://braceyourselfgames.com/crypt-of-the-necrodancer/ - Crypt of the NecroDancer is an award-winning hardcore roguelike rhythm game. Move to the music and deliver beatdowns to the beat! The game uses bgfx on Windows, macOS, Linux, Nintendo Switch and PlayStation 4.

Crypt of the NecroDancer screenshot

Tomb4Plus

https://www.github.com/SaracenOne/Tomb4Plus - Tomb4Plus is an open source reimplementation of the Tomb Raider: The Last Revelation engine. It is an enhanced fork of the original Tomb4 reimplementation project which focuses on supporting the Level Editor runtime and aims for full compatibility with the unofficial binary-patched scripting extensions used by many custom levels. Tomb4Plus also replaces the original legacy Direct3D renderer with bgfx.

Tomb4Plus screenshot

Braid, Anniversary Edition

https://play.google.com/store/apps/details?id=com.netflix.NGP.BraidAnniversaryEdition - bgfx is used only in Android version of the game.

Braid, Anniversary Edition

Rotwood

https://store.steampowered.com/app/2015270/Rotwood/ - Rotwood is an upcoming beat'em up, rogouelike video game developed and published by Klei Entertainment.

Rotwood

Cubzh

https://app.cu.bzh/ - Cubzh is a User Generated Social Universe, an online platform where all items, avatars, games, and experiences are made by users from the community.

Source: https://github.com/cubzh/cubzh

Cubzh screenshot

World Of Goo 2

https://store.epicgames.com/en-US/p/world-of-goo-2 - Build bridges, grow towers, terraform terrain, and fuel flying machines in the stunning followup to the multi-award winning World of Goo.

World Of Goo 2

License (BSD 2-clause)

Copyright 2010-2024 Branimir Karadzic

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

   1. Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.

   2. Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE.