Dalamud/imgui/Dalamud.Bindings.ImGui/Custom
CMDRNuffin 66fde2d458 Prevent unnecessary string creation in ImGui TextInput methods
We now only create a new string if we either know the buffer changed or
the EnterReturnsTrue flag was set (because that one does a LOT while
still updating the buffer on every actual input), so I had to choose
between replicating all that behavior in each of the various InputText
methods (hell no, lol), scanning the buffer for actual changes (which
would require making another copy) or accepting that in that case we
would create a new string every frame.

This still makes the GC happy in the majority of cases, while giving
callers the option to take a slight performance hit for the convenience
EnterReturnsTrue provides.
2025-12-20 03:19:20 +01:00
..
Generated Work around ActiveIdUsingKeyInputMask having a wrong type 2025-08-09 08:23:37 +09:00
ImDrawCallbackEnum.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImDrawList.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImFont.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImFontAtlas.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImFontGlyphRangesBuilder.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGui.ColorEditPicker.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGui.ComboAndList.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGui.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGui.DragScalar.cs Fix NET14 Spans defaulting to ReadOnlySpan 2025-11-30 12:48:49 -08:00
ImGui.InputScalar.cs Fix NET14 Spans defaulting to ReadOnlySpan 2025-11-30 12:48:49 -08:00
ImGui.Manual.cs Prevent unnecessary string creation in ImGui TextInput methods 2025-12-20 03:19:20 +01:00
ImGui.Misc.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGui.Plot.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGui.SliderScalar.cs Fix NET14 Spans defaulting to ReadOnlySpan 2025-11-30 12:48:49 -08:00
ImGui.StringReturns.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGui.Text.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGui.Widgets.cs Add cond=0 default to SetDragDropPayload 2025-08-09 10:14:30 +09:00
ImGuiInputTextCallbackData.Custom.cs Use custom GetPinnableReference instead of deferring it to Span (#2345) 2025-08-06 09:03:50 -07:00
ImGuiIO.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiNative.Custom.cs Fix InputTextEx return type 2025-08-09 09:58:14 +09:00
ImGuiP.Misc.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGuiP.Plot.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGuiP.StringReturns.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiP.Text.cs Make ImU8String not IDisposable 2025-08-09 08:23:38 +09:00
ImGuiPayload.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiPNative.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiStorage.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiTextBuffer.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
ImGuiTextFilter.Custom.cs Fix ImGuiTextFilter function types 2025-08-09 08:23:37 +09:00
ImGuiWindow.Custom.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00
PointerTuple.cs Manual overloads for ImGui functions accepting text (#2319) 2025-08-04 11:14:00 -07:00