//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1640
///
struct ImGuiListClipperRange
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct ImGuiListClipperRange
{
///
///
/// C++:
/// imgui_internal.h:1642
///
int Min
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[FieldOffset(0)]
public int Min;
///
///
/// C++:
/// imgui_internal.h:1643
///
int Max
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[FieldOffset(4)]
public int Max;
///
///
/// Begin/End are absolute position (will be converted to indices later)
///
///
/// C++:
/// imgui_internal.h:1644
///
bool PosToIndexConvert
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[FieldOffset(8)]
public Bool8 PosToIndexConvert;
///
///
/// Add to Min after converting to indices
///
///
/// C++:
/// imgui_internal.h:1645
///
ImS8 PosToIndexOffsetMin
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[FieldOffset(9)]
public sbyte PosToIndexOffsetMin;
///
///
/// Add to Min after converting to indices
///
///
/// C++:
/// imgui_internal.h:1646
///
ImS8 PosToIndexOffsetMax
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
[FieldOffset(10)]
public sbyte PosToIndexOffsetMax;
}
///
///
/// C++:
/// imgui_internal.h:1640
///
struct ImGuiListClipperRange
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public unsafe partial struct ImGuiListClipperRangePtr(ImGuiListClipperRange* ptr) : INullable
{
private ImGuiListClipperRange* _ptr = ptr;
public ImGuiListClipperRange* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiListClipperRangePtr(ImGuiListClipperRange* ptr) => new(ptr);
public static implicit operator ImGuiListClipperRange*(ImGuiListClipperRangePtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1642
///
int Min
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public ref int Min => ref Unsafe.AsRef(&_ptr->Min);
///
///
/// C++:
/// imgui_internal.h:1643
///
int Max
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public ref int Max => ref Unsafe.AsRef(&_ptr->Max);
///
///
/// Begin/End are absolute position (will be converted to indices later)
///
///
/// C++:
/// imgui_internal.h:1644
///
bool PosToIndexConvert
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public ref bool PosToIndexConvert => ref Unsafe.AsRef(&_ptr->PosToIndexConvert);
///
///
/// Add to Min after converting to indices
///
///
/// C++:
/// imgui_internal.h:1645
///
ImS8 PosToIndexOffsetMin
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public ref sbyte PosToIndexOffsetMin => ref Unsafe.AsRef(&_ptr->PosToIndexOffsetMin);
///
///
/// Add to Min after converting to indices
///
///
/// C++:
/// imgui_internal.h:1646
///
ImS8 PosToIndexOffsetMax
///
///
///
///
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
///
///
public ref sbyte PosToIndexOffsetMax => ref Unsafe.AsRef(&_ptr->PosToIndexOffsetMax);
}
}