Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Find a file
2016-03-24 09:32:47 -07:00
3rdparty Updated ImGui. 2016-03-24 09:14:56 -07:00
examples Added normalmap test texture. 2016-03-23 20:00:30 -07:00
include/bgfx Document bgfx::touch. 2016-03-21 12:40:01 +00:00
scripts Updated makefile. 2016-03-15 14:12:27 -07:00
src Increased default max of frame buffers. 2016-03-24 09:32:47 -07:00
tools texturec: Fixed conversion of unaligned image. 2016-03-18 17:46:10 -07:00
.appveyor.yml Updated Appveyor. 2016-01-30 16:34:58 -08:00
.editorconfig Fixed .editorconfig. 2015-11-05 22:06:23 -08:00
.gitattributes Added .editorconfig. 2014-11-06 20:28:50 -08:00
.gitignore Added workaround for compilers/platforms that don't support TLS specifier. 2015-09-13 13:24:14 -07:00
.travis.yml Updated TravisCI. 2016-01-20 21:08:21 -08:00
CONTRUBUTING.md Added CONTRIBUTING.md guideline. 2016-03-14 23:07:33 -07:00
LICENSE Updated copyright year. 2016-01-01 11:48:32 -08:00
makefile Cleanup. 2016-03-05 11:03:52 -08:00
README.md Updated README. 2016-03-22 23:08:44 -07:00

bgfx - Cross-platform rendering library

Build Status Build status

What is it?

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

Supported rendering backends:

  • Direct3D 9
  • Direct3D 11
  • Direct3D 12 (WIP)
  • Metal (WIP)
  • OpenGL 2.1
  • OpenGL 3.1+
  • OpenGL ES 2
  • OpenGL ES 3.1
  • WebGL 1.0
  • WebGL 2.0

Supported HMD:

  • OculusVR (0.4.2+)

Supported platforms:

  • Android (14+, ARM, x86, MIPS)
  • asm.js/Emscripten (1.25.0)
  • FreeBSD
  • iOS (iPhone, iPad, AppleTV)
  • Linux
  • MIPS Creator CI20
  • Native Client (PPAPI 37+, ARM, x86, x64, PNaCl)
  • OSX (10.9+)
  • RaspberryPi
  • SteamLink
  • Windows (XP, Vista, 7, 8, 10)
  • WinRT (WinPhone 8.0+)

Supported compilers:

  • Clang 3.3 and above
  • GCC 4.6 and above
  • vs2008 and above

Languages:

Building

Examples

API Reference

Tools

Who is using it?

http://airmech.com/ AirMech is a free-to-play futuristic action real-time strategy video game developed and published by Carbon Games.
airmech

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

https://github.com/taylor001/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

https://github.com/emoon/ProDBG - ProDBG is a new debugger under development that will support a variety of targets and operating systems. Currently it's in very early development and primary focusing on Mac as primary target. This is how it currently looks.
ProDBG_screenshot

http://www.dogbytegames.com/ Dogbyte Games is an indie mobile developer studio focusing on racing games.
ios

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

https://github.com/cgbystrom/twinkle GPU-accelerated UI framework powered by JavaScript for desktop/mobile apps. Idea is to combine the fast workflow and deployment model of web with the performance of native code and GPU acceleration.

https://github.com/nem0/LumixEngine LumixEngine is a MIT licensed 3D engine. The main goal is performance and Unity-like usability.
LumixEngine screenshot

https://github.com/podgorskiy/KeplerOrbits KeplerOrbits - Tool that calculates positions of celestial bodies using their orbital elements. Web Demo

https://github.com/cyberegoorg/cetech - CETech is Data-Driven game engine and toolbox inspired by Bitsquid/Stingray engine.
CETech screenshot

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

http://makingartstudios.itch.io/dls - DLS the digital logic simulator game.
dls-screenshot

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

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-screenshot

License (BSD 2-clause)

Copyright 2010-2016 Branimir Karadzic. All rights reserved.

https://github.com/bkaradzic/bgfx

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 COPYRIGHT HOLDER ``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 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.