NetImgui is a library to remotely display and control Dear ImGui menus with an associated netImgui server application. Designed to painlessly integrate into existing codebase with few changes required to the existing logic.
Initially created to assist game developers in debugging their game from a PC while it runs on console. However, its use can easily be extended to other fields.
For programs running on hardware without easy access to a keyboard and mouse, netImgui provides the comfort of your computer's inputs while controlling it remotely.
Dear ImGui is often used to display relevant debug information during development, but its UI elements can obscure the regular window content. NetImgui sends the debug menus to a separate window, leaving the original display clutter-free and with freedom to use the entire screen for more elaborate debug content.
- Download the latest version of netImgui.
- Generate solutions and compile the netImguiServer application.
- Add the content of Code\Client to your codebase.
- In your codebase :
- [once] Call NetImgui::Connect(...) (starts connection to netImguiServer).
- [once] Call NetImgui::SendDataTexture(...) (upload your font texture to netImguiServer).
- [Every Redraw]
- Replace ImGui::NewFrame() call, with NetImgui::NewFrame().
- Draw your ImGui menu as usual.
- Replace ImGui::Render() call, with NetImgui::EndFrame().
(More integration details can be found on the Wiki and netImgui_Sample project can provides insights)
- Different Dear ImGui content can be displayed locally and remotely at the same time.
- NetImgui::IsConnected and NetImgui::IsRemoteDraw can be used during menu udpate, to make decisions on what content to draw.
Version 1.0
- Initial Release
- netImgui server application
- netImgui client code (for integration into external codebase)
- Support of addional texture formats
- Commands to assign custom backgrounds
- Handle Linear/sRGB vertex color format
- Add logging information in netImgui server application
- Profile and optimize performances
- Add copy/past support
- Add new Dear ImGui multi windows support (docking branch)
Author can be reach for feedback / comments at: zenengine3d (at) gmail . com
Sincere thanks to Omar Cornut for the incredible work on Dear ImGui.
Support of image formats with stb_image.h by Sean Barrett (public domain).