//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Storage for TableAngledHeadersRow()
///
///
/// C++:
/// imgui_internal.h:181
///
struct ImGuiTableHeaderData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImGuiTableHeaderData
{
///
///
/// Column index
///
///
/// C++:
/// imgui_internal.h:3106
///
ImGuiTableColumnIdx Index
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
[FieldOffset(0)]
public short Index;
///
///
/// C++:
/// imgui_internal.h:3107
///
ImU32 TextColor
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
[FieldOffset(4)]
public uint TextColor;
///
///
/// C++:
/// imgui_internal.h:3108
///
ImU32 BgColor0
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
[FieldOffset(8)]
public uint BgColor0;
///
///
/// C++:
/// imgui_internal.h:3109
///
ImU32 BgColor1
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
[FieldOffset(12)]
public uint BgColor1;
}
///
///
/// Storage for TableAngledHeadersRow()
///
///
/// C++:
/// imgui_internal.h:181
///
struct ImGuiTableHeaderData
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiTableHeaderDataPtr(ImGuiTableHeaderData* ptr) : INullable
{
private ImGuiTableHeaderData* _ptr = ptr;
public ImGuiTableHeaderData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiTableHeaderDataPtr(ImGuiTableHeaderData* ptr) => new(ptr);
public static implicit operator ImGuiTableHeaderData*(ImGuiTableHeaderDataPtr wrapper) => wrapper.Ptr;
///
///
/// Column index
///
///
/// C++:
/// imgui_internal.h:3106
///
ImGuiTableColumnIdx Index
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
public ref short Index => ref Unsafe.AsRef(&_ptr->Index);
///
///
/// C++:
/// imgui_internal.h:3107
///
ImU32 TextColor
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
public ref uint TextColor => ref Unsafe.AsRef(&_ptr->TextColor);
///
///
/// C++:
/// imgui_internal.h:3108
///
ImU32 BgColor0
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
public ref uint BgColor0 => ref Unsafe.AsRef(&_ptr->BgColor0);
///
///
/// C++:
/// imgui_internal.h:3109
///
ImU32 BgColor1
///
///
///
///
/// Parameters for TableAngledHeadersRowEx()
/// This may end up being refactored for more general purpose.
/// sizeof() ~ 12 bytes
///
///
public ref uint BgColor1 => ref Unsafe.AsRef(&_ptr->BgColor1);
}
}