Dear ImGui: C++ graphical user interface library
Immediate mode GUI library for 3D applications.
Learn more about imgui
Dear ImGui is an immediate mode GUI library written in C++ that generates optimized vertex buffers for rendering. It operates without external dependencies and provides a self-contained core that compiles directly into applications. The library uses an immediate mode design pattern where UI state is reconstructed each frame rather than retained, reducing synchronization complexity. It is commonly integrated into game engines, real-time 3D applications, and tools where rapid iteration and minimal UI state overhead are priorities.
Immediate Mode Design
UI is reconstructed each frame rather than retained, eliminating state synchronization between application and UI. Reduces boilerplate code and simplifies integration into existing codebases without architectural changes.
Renderer Agnostic Output
Generates optimized vertex buffers compatible with any graphics API or rendering pipeline. Backends provided for common platforms, or create custom backends wherever textured triangles can be rendered.
Minimal Dependencies Integration
Core functionality contained in a few platform-agnostic C++ files that compile directly into projects. No external dependencies or build process required, suitable for embedded systems and console platforms.
#include "imgui.h"
void RenderDebugUI() {
ImGui::Begin("Debug Info");
ImGui::Text("FPS: %.1f", ImGui::GetIO().Framerate);
static float velocity = 0.0f;
ImGui::SliderFloat("Speed", &velocity, 0.0f, 100.0f);
if (ImGui::Button("Reset")) {
velocity = 0.0f;
}
ImGui::End();
}❤️ Last year was the 10th anniversary of v1.00! Read: 10 years of Dear ImGui ! 🎉
- –Getting Started (~25 lines in an existing app)
- –Useful Extensions/Widgets
- –Software using Dear ImGui
- –Language Bindings & Engine Backends
- –and more! 👌
❤️ Last year was the 10th anniversary of v1.00! Read: 10 years of Dear ImGui ! 🎉
- –Getting Started (~25 lines in an existing app)
- –Useful Extensions/Widgets
- –Software using Dear ImGui
- –Bindings & Backends
- –and more! 👌
❤️ Last year was the 10th anniversary of v1.00! Read: 10 years of Dear ImGui ! 🎉
- –Getting Started (~25 lines in an existing app)
- –Useful Extensions/Widgets
- –Software using Dear ImGui
- –Bindings & Backends
- –and more! 👌
See how people are using imgui
Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
git
Snapshot-based version control with distributed repository architecture.
googletest
xUnit-based C++ testing framework with integrated mocking.
gemini-cli
CLI for Google Gemini AI with text, image, and multimodal interactions from terminal.
wifi-password
Bash utility for extracting Wi-Fi passwords from macOS keychain storage.
VVV
Vagrant configuration creating local development environments for WordPress development.