Load Dear ImGui into any Application.
- DX9
- DX11
- OpenGL 2
- OpenGL 3
- Overlay renderer (universal)
- Intercept input
- Unlock mouse cursor
- Easy to use C# API
SharpGUI uses custom builds of cimgui and ImGui.NET which include all backends. SharpGUINative contains all the code for hooking and rendering the imgui backends. The C# side of the application invokes exported methods from SharpGUINative.
Note: SharpGUINative could also be used without C#.
Reference SharpGUI and the custom version of ImGui.NET(can be found in SharpGUI/Resources) in your C# project. An example for a BepInEx 6 IL2CPP Plugin can be found in the SharpGUI BepInEx Plugin Directory.
Go into sharpconfig.hpp and select the backends you want to include.
#define SHARPGUI_INCLUDE_DX11 1should be changed into:
#define SHARPGUI_INCLUDE_DX11 0