//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:3275
///
struct ImGuiTableColumnSettings
///
///
///
///
/// sizeof() ~ 16
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImGuiTableColumnSettings
{
///
///
/// C++:
/// imgui_internal.h:3277
///
float WidthOrWeight
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(0)]
public float WidthOrWeight;
///
///
/// C++:
/// imgui_internal.h:3278
///
ImGuiID UserID
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(4)]
public ImGuiID UserID;
///
///
/// C++:
/// imgui_internal.h:3279
///
ImGuiTableColumnIdx Index
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(8)]
public short Index;
///
///
/// C++:
/// imgui_internal.h:3280
///
ImGuiTableColumnIdx DisplayOrder
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(10)]
public short DisplayOrder;
///
///
/// C++:
/// imgui_internal.h:3281
///
ImGuiTableColumnIdx SortOrder
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(12)]
public short SortOrder;
///
///
/// C++:
/// imgui_internal.h:3282
///
ImU8 SortDirection : 2
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(14)]
public byte SortDirection;
///
///
/// "Visible" in ini file
///
///
/// C++:
/// imgui_internal.h:3283
///
ImS8 IsEnabled : 2
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(14)]
public sbyte IsEnabled;
///
///
/// C++:
/// imgui_internal.h:3284
///
ImU8 IsStretch : 1
///
///
///
///
/// sizeof() ~ 16
///
///
[FieldOffset(14)]
public byte IsStretch;
}
///
///
/// C++:
/// imgui_internal.h:3275
///
struct ImGuiTableColumnSettings
///
///
///
///
/// sizeof() ~ 16
///
///
public unsafe partial struct ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* ptr) : INullable
{
private ImGuiTableColumnSettings* _ptr = ptr;
public ImGuiTableColumnSettings* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiTableColumnSettingsPtr(ImGuiTableColumnSettings* ptr) => new(ptr);
public static implicit operator ImGuiTableColumnSettings*(ImGuiTableColumnSettingsPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:3277
///
float WidthOrWeight
///
///
///
///
/// sizeof() ~ 16
///
///
public ref float WidthOrWeight => ref Unsafe.AsRef(&_ptr->WidthOrWeight);
///
///
/// C++:
/// imgui_internal.h:3278
///
ImGuiID UserID
///
///
///
///
/// sizeof() ~ 16
///
///
public ref ImGuiID UserID => ref Unsafe.AsRef(&_ptr->UserID);
///
///
/// C++:
/// imgui_internal.h:3279
///
ImGuiTableColumnIdx Index
///
///
///
///
/// sizeof() ~ 16
///
///
public ref short Index => ref Unsafe.AsRef(&_ptr->Index);
///
///
/// C++:
/// imgui_internal.h:3280
///
ImGuiTableColumnIdx DisplayOrder
///
///
///
///
/// sizeof() ~ 16
///
///
public ref short DisplayOrder => ref Unsafe.AsRef(&_ptr->DisplayOrder);
///
///
/// C++:
/// imgui_internal.h:3281
///
ImGuiTableColumnIdx SortOrder
///
///
///
///
/// sizeof() ~ 16
///
///
public ref short SortOrder => ref Unsafe.AsRef(&_ptr->SortOrder);
///
///
/// C++:
/// imgui_internal.h:3282
///
ImU8 SortDirection : 2
///
///
///
///
/// sizeof() ~ 16
///
///
public ref byte SortDirection => ref Unsafe.AsRef(&_ptr->SortDirection);
///
///
/// "Visible" in ini file
///
///
/// C++:
/// imgui_internal.h:3283
///
ImS8 IsEnabled : 2
///
///
///
///
/// sizeof() ~ 16
///
///
public ref sbyte IsEnabled => ref Unsafe.AsRef(&_ptr->IsEnabled);
///
///
/// C++:
/// imgui_internal.h:3284
///
ImU8 IsStretch : 1
///
///
///
///
/// sizeof() ~ 16
///
///
public ref byte IsStretch => ref Unsafe.AsRef(&_ptr->IsStretch);
}
}