An experimental 2D renderer/game engine for C++, inspired by Pixi.js. Built with SDL3 and bgfx.
- Performance: Glimmerite is designed to be extremely fast for rendering sprites and basic 2D geometry (rectangles, circles, polygons).
- Compatibility: Apps built with Glimmerite work on Windows, macOS, Linux, iOS, Android, and the browser through WebAssembly. All major graphics APIs are supported through bgfx, including Vulkan, Metal, Direct3D 12 and 11, OpenGL, and OpenGL ES.
- C++23 or later
- CMake 4.0 or later
#include "gmi/Application.h"
using namespace gmi;
Application* gmiMain() {
const auto app = new Application({
.width = 960,
.height = 540,
.title = "Hello World!",
.backgroundColor = Color::fromRgb(128, 128, 255),
});
return app;
}See the examples for more.
Built something cool with Glimmerite and want it featured here? Please submit a pull request!