Magnum is open-source C++ graphics middleware for games and data visualization. It offers graphics abstraction and platform independence with optional plugins and utilities.
Overview
Magnum is built as a lightweight, modular stack for developers who need OpenGL, WebGL, and Vulkan-style APIs without giving up flexibility. Core pieces include UTF-8-aware OS and filesystem helpers, vector math, and slim C++ wrappers around major graphics API families.
Optional modules add shaders, primitives, asset management, windowing toolkit integration, and a UI library. The design favors extension points so you can plug in custom asset loaders, compressors, fonts, or math libraries, or use bundled plugins.
It runs on desktop and mobile targets plus the web through Emscripten, with OpenGL, OpenGL ES, and WebGL coverage described across versions and extensions. Related projects supply importers, bindings, examples, and single-header extracts for faster integration.
Commercial use is explicitly allowed. Documentation covers download, build, install, tutorials, and feature guides for adopting Magnum in application code.
Key features
- OpenGL, GLES, and WebGL wrappers
- Vulkan API family support
- Vector math and OS abstractions
- Asset and shader utilities
- Importer and integration plugins
- Windowing toolkit integration
- Single-header optional modules
- Desktop, mobile, and web targets
Use cases
- Game graphics rendering
- Data visualization apps
- Cross-platform 3D prototypes
- WebAssembly graphics via Emscripten
- Custom engine middleware