mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
|
|
@ -0,0 +1,211 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1640">imgui_internal.h:1640</see>
|
||||
/// <br/><c>struct ImGuiListClipperRange</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct ImGuiListClipperRange
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1642">imgui_internal.h:1642</see>
|
||||
/// <br/><c>int Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public int Min;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1643">imgui_internal.h:1643</see>
|
||||
/// <br/><c>int Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public int Max;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Begin/End are absolute position (will be converted to indices later)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1644">imgui_internal.h:1644</see>
|
||||
/// <br/><c>bool PosToIndexConvert</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public Bool8 PosToIndexConvert;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Add to Min after converting to indices
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1645">imgui_internal.h:1645</see>
|
||||
/// <br/><c>ImS8 PosToIndexOffsetMin</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(9)]
|
||||
public sbyte PosToIndexOffsetMin;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Add to Min after converting to indices
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1646">imgui_internal.h:1646</see>
|
||||
/// <br/><c>ImS8 PosToIndexOffsetMax</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(10)]
|
||||
public sbyte PosToIndexOffsetMax;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1640">imgui_internal.h:1640</see>
|
||||
/// <br/><c>struct ImGuiListClipperRange</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
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;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1642">imgui_internal.h:1642</see>
|
||||
/// <br/><c>int Min</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Min => ref Unsafe.AsRef<int>(&_ptr->Min);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1643">imgui_internal.h:1643</see>
|
||||
/// <br/><c>int Max</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int Max => ref Unsafe.AsRef<int>(&_ptr->Max);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Begin/End are absolute position (will be converted to indices later)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1644">imgui_internal.h:1644</see>
|
||||
/// <br/><c>bool PosToIndexConvert</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref bool PosToIndexConvert => ref Unsafe.AsRef<bool>(&_ptr->PosToIndexConvert);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Add to Min after converting to indices
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1645">imgui_internal.h:1645</see>
|
||||
/// <br/><c>ImS8 PosToIndexOffsetMin</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref sbyte PosToIndexOffsetMin => ref Unsafe.AsRef<sbyte>(&_ptr->PosToIndexOffsetMin);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Add to Min after converting to indices
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1646">imgui_internal.h:1646</see>
|
||||
/// <br/><c>ImS8 PosToIndexOffsetMax</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Note that Max is exclusive, so perhaps should be using a Begin/End convention.
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref sbyte PosToIndexOffsetMax => ref Unsafe.AsRef<sbyte>(&_ptr->PosToIndexOffsetMax);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue