// using HexaGen.Runtime; using System; using System.Diagnostics; using System.Numerics; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace Dalamud.Bindings.ImGui; public unsafe partial struct ImDrawListSplitterPtr { public unsafe void Clear() { ImGuiNative.Clear(Handle); } public unsafe void ClearFreeMemory() { ImGuiNative.ClearFreeMemory(Handle); } public unsafe void Destroy() { ImGuiNative.Destroy(Handle); } public unsafe void Merge(ImDrawListPtr drawList) { ImGuiNative.Merge(Handle, drawList); } public unsafe void Merge(ref ImDrawList drawList) { fixed (ImDrawList* pdrawList = &drawList) { ImGuiNative.Merge(Handle, (ImDrawList*)pdrawList); } } public unsafe void SetCurrentChannel(ImDrawListPtr drawList, int channelIdx) { ImGuiNative.SetCurrentChannel(Handle, drawList, channelIdx); } public unsafe void SetCurrentChannel(ref ImDrawList drawList, int channelIdx) { fixed (ImDrawList* pdrawList = &drawList) { ImGuiNative.SetCurrentChannel(Handle, (ImDrawList*)pdrawList, channelIdx); } } public unsafe void Split(ImDrawListPtr drawList, int count) { ImGuiNative.Split(Handle, drawList, count); } public unsafe void Split(ref ImDrawList drawList, int count) { fixed (ImDrawList* pdrawList = &drawList) { ImGuiNative.Split(Handle, (ImDrawList*)pdrawList, count); } } }