// 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 ImGuiListClipper { public unsafe void Begin(int itemsCount, float itemsHeight) { fixed (ImGuiListClipper* @this = &this) { ImGuiNative.Begin(@this, itemsCount, itemsHeight); } } public unsafe void Begin(int itemsCount) { fixed (ImGuiListClipper* @this = &this) { ImGuiNative.Begin(@this, itemsCount, (float)(-1.0f)); } } public unsafe void Destroy() { fixed (ImGuiListClipper* @this = &this) { ImGuiNative.Destroy(@this); } } public unsafe void End() { fixed (ImGuiListClipper* @this = &this) { ImGuiNative.End(@this); } } public unsafe void ForceDisplayRangeByIndices(int itemMin, int itemMax) { fixed (ImGuiListClipper* @this = &this) { ImGuiNative.ForceDisplayRangeByIndices(@this, itemMin, itemMax); } } public unsafe bool Step() { fixed (ImGuiListClipper* @this = &this) { byte ret = ImGuiNative.Step(@this); return ret != 0; } } }