feat(engine): RynthPluginRenderOverlay - plugin extra windows while the ImGui shell is off

PluginManager.RenderOverlayAll runs the optional export when EnableImGuiShell is off (engine.json EnablePluginOverlayWindows, default true). A throw disables only that plugin's overlay, never the plugin. Fixes RynthAi ILT Hub window never showing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 17:37:55 -04:00
commit 7a58cdc095
7 changed files with 102 additions and 1 deletions

View file

@ -482,6 +482,10 @@ internal static class PluginLoader
if (renderPtr != IntPtr.Zero)
plugin.Render = Marshal.GetDelegateForFunctionPointer<PluginRenderDelegate>(renderPtr);
IntPtr renderOverlayPtr = GetProcAddress(handle, "RynthPluginRenderOverlay");
if (renderOverlayPtr != IntPtr.Zero)
plugin.RenderOverlay = Marshal.GetDelegateForFunctionPointer<PluginRenderDelegate>(renderOverlayPtr);
// Read name/version from the plugin if available
if (plugin.GetName != null)
{