Dear ImGui through C++23 modules, with optional app and docking interfaces.
English · 简体中文 · Upstream · Releases · mcpp · Index
Keep ImGui:: APIs. Core, backend contracts and the optional app facade remain separate.
import mcpplibs.mwrap.imgui;: Core API and macro mappingsimport mcpplibs.mwrap.imgui.core;: Dear ImGui contexts, frames and widgetsimport mcpplibs.mwrap.imgui.app;: Optional app frame loop; requires appimport mcpplibs.mwrap.imgui.backend;: Backend contracts and shared typesimport mcpplibs.mwrap.imgui.backend.headless;: Display-independent backendimport mcpplibs.mwrap.imgui.backend.glfw_opengl3;: GLFW/OpenGL3 window backend
More Modules API -> Usage and API
mcpp new ui --template [email protected]
cd ui
mcpp run[dependencies]
mcpplibs.mwrap.imgui = "1.92.8"import mcpplibs.mwrap.imgui;
int main() { ImGui::CreateContext(); ImGui::DestroyContext(); }| Feature | Purpose |
|---|---|
app |
App frame loop |
docking |
Dockable panels |
viewports |
Separate OS windows |
docking-full |
docking + viewports |
The provider is upstream 1.92.8-docking; desktop templates need a display.
Default: display-independent context/frame checks. :window and :docking require a desktop.
Examples · Usage · Architecture
Linux, macOS and Windows CI. OpenGL/GLX runtime adapters do not redistribute the host GPU driver.
Apache-2.0; the upstream provider has its own MIT notice.
Wrapper: Apache-2.0, mcpp-community. Original upstream README and licenses. Upstream licenses remain unchanged.