Graphics Libraries

APIs and libraries for rendering, windowing, and media, for building your own game or engine without a ready-made engine

Graphics Libraries OpenGL Vulkan Web

Selection and Classification Criteria

Inclusion Criteria

  • Open source or an open standard
  • Actively maintained
  • Usable for building games without a full engine
  • Works on Linux, Mac, and Windows, or in the browser

Graphics APIs

OpenGL

The oldest and most widespread cross-platform graphics standard, from the Khronos Group; WebGL in browsers is based on it.

⚙️ C 🗿 2D / 3D 🔒 Open Standard
Visit ↗ 2026-11-23

Apple deprecated it on macOS at version 4.1

Vulkan

OpenGL's successor from the Khronos Group: an explicit, low-level API that gives full control over the GPU in exchange for more code.

⚙️ C 🗿 2D / 3D 🔒 Open Standard
Visit ↗ 2026-11-23

wgpu

A Rust implementation of the WebGPU standard that runs on Vulkan, Metal, DirectX 12, and OpenGL, and in the browser too.

⚙️ Rust 🗿 2D / 3D / Web 🔒 Open Source
Visit ↗ 2026-11-23

bgfx

Cross-platform "bring your own engine" rendering library that hides the differences between DirectX, Metal, Vulkan, OpenGL, and WebGL behind one API.

⚙️ C / C++ 🗿 2D / 3D / Web 🔒 Open Source
Visit ↗ 2026-11-23

Windowing and Media Libraries

GLFW

Lightweight library for creating windows and OpenGL or Vulkan contexts, and for reading keyboard, mouse, and gamepad input.

⚙️ C 🗿 2D / 3D 🔒 Open Source
Visit ↗ 2026-11-23

SDL

✨ Featured

Cross-platform media library for windows, input, audio, 2D rendering, and a GPU API, relied on by many games and engines.

⚙️ C 🗿 2D / 3D / Web 🔒 Open Source
Visit ↗ 2026-11-23

SFML

Simple C++ media library for windows, 2D graphics, audio, and networking, with an easy object-oriented API.

⚙️ C++ 🗿 2D 🔒 Open Source
Visit ↗ 2026-11-23

raylib

Simple and fun C library for game programming that bundles windowing, rendering, audio, and input, and exports to the web.

⚙️ C 🗿 2D / 3D / Web 🔒 Open Source
Visit ↗ 2026-11-23

Rendering Libraries

PixiJS

Fast 2D web renderer on top of WebGL and WebGPU, popular for browser games and interactive interfaces.

⚙️ JavaScript / TypeScript 🗿 2D / Web 🔒 Open Source
Visit ↗ 2026-11-23

Also available on GitHub

Three.js

The most popular 3D library for the web, building scenes, lighting, and materials on top of WebGL and WebGPU.

⚙️ JavaScript 🗿 3D / Web 🔒 Open Source
Visit ↗ 2026-11-23

OGRE

Scene-oriented 3D rendering engine in C++ that focuses on graphics only, leaving physics and audio to other libraries.

⚙️ C++ 🗿 3D 🔒 Open Source
Visit ↗ 2026-11-23