//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1653
///
struct ImGuiListClipperData
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImGuiListClipperData
{
///
///
/// C++:
/// imgui_internal.h:1655
///
ImGuiListClipper* ListClipper
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[FieldOffset(0)]
public ImGuiListClipperPtr ListClipper;
///
///
/// C++:
/// imgui_internal.h:1656
///
float LossynessOffset
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[FieldOffset(8)]
public float LossynessOffset;
///
///
/// C++:
/// imgui_internal.h:1657
///
int StepNo
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[FieldOffset(12)]
public int StepNo;
///
///
/// C++:
/// imgui_internal.h:1658
///
int ItemsFrozen
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[FieldOffset(16)]
public int ItemsFrozen;
///
///
/// C++:
/// imgui_internal.h:1659
///
ImVector<ImGuiListClipperRange> Ranges
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
[FieldOffset(24)]
public ImVector Ranges;
}
///
///
/// C++:
/// imgui_internal.h:1653
///
struct ImGuiListClipperData
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public unsafe partial struct ImGuiListClipperDataPtr(ImGuiListClipperData* ptr) : INullable
{
private ImGuiListClipperData* _ptr = ptr;
public ImGuiListClipperData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiListClipperDataPtr(ImGuiListClipperData* ptr) => new(ptr);
public static implicit operator ImGuiListClipperData*(ImGuiListClipperDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1655
///
ImGuiListClipper* ListClipper
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public ref ImGuiListClipperPtr ListClipper => ref Unsafe.AsRef(&_ptr->ListClipper);
///
///
/// C++:
/// imgui_internal.h:1656
///
float LossynessOffset
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public ref float LossynessOffset => ref Unsafe.AsRef(&_ptr->LossynessOffset);
///
///
/// C++:
/// imgui_internal.h:1657
///
int StepNo
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public ref int StepNo => ref Unsafe.AsRef(&_ptr->StepNo);
///
///
/// C++:
/// imgui_internal.h:1658
///
int ItemsFrozen
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public ref int ItemsFrozen => ref Unsafe.AsRef(&_ptr->ItemsFrozen);
///
///
/// C++:
/// imgui_internal.h:1659
///
ImVector<ImGuiListClipperRange> Ranges
///
///
///
///
/// Temporary clipper data, buffers shared/reused between instances
///
///
public ref ImVector Ranges =>
ref Unsafe.AsRef>(&_ptr->Ranges);
}
}