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.