mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
338
Brutal.ImGui/Generated-Internal/Structs/ImGuiLastItemData.gen.cs
Normal file
338
Brutal.ImGui/Generated-Internal/Structs/ImGuiLastItemData.gen.cs
Normal file
|
|
@ -0,0 +1,338 @@
|
|||
// <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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue