Graphics Libraries
APIs and libraries for rendering, windowing, and media, for building your own game or engine without a ready-made engine
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.
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.

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

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

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

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

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

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

PixiJS
Fast 2D web renderer on top of WebGL and WebGPU, popular for browser games and interactive interfaces.
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.

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