mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 14:38: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,95 @@
|
|||
// <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#L1417">imgui_internal.h:1417</see>
|
||||
/// <br/><c>struct ImGuiShrinkWidthItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct ImGuiShrinkWidthItem
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1419">imgui_internal.h:1419</see>
|
||||
/// <br/><c>int Index</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public int Index;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1420">imgui_internal.h:1420</see>
|
||||
/// <br/><c>float Width</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public float Width;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1421">imgui_internal.h:1421</see>
|
||||
/// <br/><c>float InitialWidth</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public float InitialWidth;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1417">imgui_internal.h:1417</see>
|
||||
/// <br/><c>struct ImGuiShrinkWidthItem</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public unsafe partial struct ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* ptr) : INullable
|
||||
{
|
||||
private ImGuiShrinkWidthItem* _ptr = ptr;
|
||||
public ImGuiShrinkWidthItem* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiShrinkWidthItemPtr(ImGuiShrinkWidthItem* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiShrinkWidthItem*(ImGuiShrinkWidthItemPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1419">imgui_internal.h:1419</see>
|
||||
/// <br/><c>int Index</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref int Index => ref Unsafe.AsRef<int>(&_ptr->Index);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1420">imgui_internal.h:1420</see>
|
||||
/// <br/><c>float Width</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref float Width => ref Unsafe.AsRef<float>(&_ptr->Width);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1421">imgui_internal.h:1421</see>
|
||||
/// <br/><c>float InitialWidth</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref float InitialWidth => ref Unsafe.AsRef<float>(&_ptr->InitialWidth);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue