Dear ImGui: C++ graphical user interface library
Immediate mode GUI library for 3D applications.
Learn more about Dear 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();
}See how people are using Dear ImGui
Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
Pug
Whitespace-sensitive template engine compiling to HTML for Node.js with Haml-inspired syntax.
Axios
Promise-based HTTP client with unified browser and Node.js interface.
JSON for Modern C++
Header-only C++ library for JSON with STL-like containers.
Gemini CLI
CLI for Google Gemini AI with text, image, and multimodal interactions from terminal.
Moq
Mock .NET objects using lambda expressions and LINQ.
Related Reading
Guides and comparisons from the Greptile content library
What is Source Code Management (SCM): Everything Engineering Leaders Need to Know
Source code management is more than branching and merging. Here is how SCM works, the top tools, the best practices, and why good code review is the foundation of source control in an agentic era.
Automated Code Review: How It Works & Best Tools [2026]
What automated code review is, how it differs from traditional and AI code review, the six types of code review automation tools, and why linters and SAST alone are no longer enough as agentic coding grows.
Choosing the Right Code Review Tool: Better Alternatives to Graphite AI
A breakdown of the best alternatives to Graphite for code reviews. Compare AI tools like Trag, open-source solutions like Gerrit, and database-focused platforms like Visual Expert.
27 Code Quality Tools that Catch Bugs [2026 Review]
The best code quality tools that catch bugs, security vulnerabilities, and runtime errors, sorted by language, with type, noise level, cost, and who each one is for.