Bloat-free graphical user interface library for C++ with minimal dependencies
open sourceMITfree
Dear ImGui is an immediate mode graphical user interface library for C++. It outputs optimised vertex buffers you render in your own 3D pipeline, so it is renderer agnostic and self-contained, with no external dependencies. It is made for programmers building content creation, visualisation and debug tools, and fits game engine tooling, real-time 3D, fullscreen and embedded applications and consoles. Backends for many graphics APIs and platforms ship in the repository. It doesnʼt aim at end-user UI: full internationalisation (bidirectional text, text shaping) and accessibility arenʼt supported.
Problems it solves
- add a quick debug and tweaking UI to my game engine
- build internal tools inside a real-time 3D application without a heavy GUI toolkit
- draw a GUI with whatever renderer my C++ app already uses
Features
- immediate mode API
- renderer-agnostic vertex buffer output
- no external dependencies
- backends for many graphics APIs
- widgets, windows and menus
Limitations
- No full internationalisation (right-to-left and bidirectional text, text shaping) and no accessibility features.1
Alternatives
The same job
These do what Dear ImGui does.
- Clay Single-header C library for high-performance, flexbox-like 2D UI layout that works with any renderer
