mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
338 lines
12 KiB
C#
338 lines
12 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Status storage for last submitted items
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L163">imgui_internal.h:163</see>
|
|
/// <br/><c>struct ImGuiLastItemData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 80)]
|
|
public partial struct ImGuiLastItemData
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1361">imgui_internal.h:1361</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// See ImGuiItemFlags_ (called 'InFlags' before v1.91.4).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1362">imgui_internal.h:1362</see>
|
|
/// <br/><c>ImGuiItemFlags ItemFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public ImGuiItemFlags ItemFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// See ImGuiItemStatusFlags_
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1363">imgui_internal.h:1363</see>
|
|
/// <br/><c>ImGuiItemStatusFlags StatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public ImGuiItemStatusFlags StatusFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Full rectangle
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1364">imgui_internal.h:1364</see>
|
|
/// <br/><c>ImRect Rect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(12)]
|
|
public floatRect Rect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Navigation scoring rectangle (not displayed)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1365">imgui_internal.h:1365</see>
|
|
/// <br/><c>ImRect NavRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(28)]
|
|
public floatRect NavRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Display rectangle. ONLY VALID IF (StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1367">imgui_internal.h:1367</see>
|
|
/// <br/><c>ImRect DisplayRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(44)]
|
|
public floatRect DisplayRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Clip rectangle at the time of submitting item. ONLY VALID IF (StatusFlags &
|
|
/// ImGuiItemStatusFlags_HasClipRect) is set..
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1368">imgui_internal.h:1368</see>
|
|
/// <br/><c>ImRect ClipRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(60)]
|
|
public floatRect ClipRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Shortcut at the time of submitting item. ONLY VALID IF (StatusFlags &
|
|
/// ImGuiItemStatusFlags_HasShortcut) is set..
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1369">imgui_internal.h:1369</see>
|
|
/// <br/><c>ImGuiKeyChord Shortcut</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(76)]
|
|
public ImGuiKeyChord Shortcut;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Status storage for last submitted items
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L163">imgui_internal.h:163</see>
|
|
/// <br/><c>struct ImGuiLastItemData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiLastItemDataPtr(ImGuiLastItemData* ptr) : INullable
|
|
{
|
|
private ImGuiLastItemData* _ptr = ptr;
|
|
public ImGuiLastItemData* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiLastItemDataPtr(ImGuiLastItemData* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiLastItemData*(ImGuiLastItemDataPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1361">imgui_internal.h:1361</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// See ImGuiItemFlags_ (called 'InFlags' before v1.91.4).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1362">imgui_internal.h:1362</see>
|
|
/// <br/><c>ImGuiItemFlags ItemFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef<ImGuiItemFlags>(&_ptr->ItemFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// See ImGuiItemStatusFlags_
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1363">imgui_internal.h:1363</see>
|
|
/// <br/><c>ImGuiItemStatusFlags StatusFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiItemStatusFlags StatusFlags => ref Unsafe.AsRef<ImGuiItemStatusFlags>(&_ptr->StatusFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Full rectangle
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1364">imgui_internal.h:1364</see>
|
|
/// <br/><c>ImRect Rect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref floatRect Rect => ref Unsafe.AsRef<floatRect>(&_ptr->Rect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Navigation scoring rectangle (not displayed)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1365">imgui_internal.h:1365</see>
|
|
/// <br/><c>ImRect NavRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Status storage for the last submitted item
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref floatRect NavRect => ref Unsafe.AsRef<floatRect>(&_ptr->NavRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Display rectangle. ONLY VALID IF (StatusFlags & ImGuiItemStatusFlags_HasDisplayRect) is set.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1367">imgui_internal.h:1367</see>
|
|
/// <br/><c>ImRect DisplayRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref floatRect DisplayRect => ref Unsafe.AsRef<floatRect>(&_ptr->DisplayRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Clip rectangle at the time of submitting item. ONLY VALID IF (StatusFlags &
|
|
/// ImGuiItemStatusFlags_HasClipRect) is set..
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1368">imgui_internal.h:1368</see>
|
|
/// <br/><c>ImRect ClipRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref floatRect ClipRect => ref Unsafe.AsRef<floatRect>(&_ptr->ClipRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Shortcut at the time of submitting item. ONLY VALID IF (StatusFlags &
|
|
/// ImGuiItemStatusFlags_HasShortcut) is set..
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1369">imgui_internal.h:1369</see>
|
|
/// <br/><c>ImGuiKeyChord Shortcut</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Rarely used fields are not explicitly cleared, only valid when the corresponding ImGuiItemStatusFlags
|
|
/// are set.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiKeyChord Shortcut => ref Unsafe.AsRef<ImGuiKeyChord>(&_ptr->Shortcut);
|
|
}
|
|
}
|