//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:1417
///
struct ImGuiShrinkWidthItem
///
///
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct ImGuiShrinkWidthItem
{
///
///
/// C++:
/// imgui_internal.h:1419
///
int Index
///
///
[FieldOffset(0)]
public int Index;
///
///
/// C++:
/// imgui_internal.h:1420
///
float Width
///
///
[FieldOffset(4)]
public float Width;
///
///
/// C++:
/// imgui_internal.h:1421
///
float InitialWidth
///
///
[FieldOffset(8)]
public float InitialWidth;
}
///
///
/// C++:
/// imgui_internal.h:1417
///
struct ImGuiShrinkWidthItem
///
///
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;
///
///
/// C++:
/// imgui_internal.h:1419
///
int Index
///
///
public ref int Index => ref Unsafe.AsRef(&_ptr->Index);
///
///
/// C++:
/// imgui_internal.h:1420
///
float Width
///
///
public ref float Width => ref Unsafe.AsRef(&_ptr->Width);
///
///
/// C++:
/// imgui_internal.h:1421
///
float InitialWidth
///
///
public ref float InitialWidth => ref Unsafe.AsRef(&_ptr->InitialWidth);
}
}