//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// C++:
/// imgui_internal.h:3095
///
struct ImGuiTableCellData
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
[StructLayout(LayoutKind.Explicit, Size = 8)]
public partial struct ImGuiTableCellData
{
///
///
/// Actual color
///
///
/// C++:
/// imgui_internal.h:3097
///
ImU32 BgColor
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
[FieldOffset(0)]
public uint BgColor;
///
///
/// Column number
///
///
/// C++:
/// imgui_internal.h:3098
///
ImGuiTableColumnIdx Column
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
[FieldOffset(4)]
public short Column;
}
///
///
/// C++:
/// imgui_internal.h:3095
///
struct ImGuiTableCellData
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
public unsafe partial struct ImGuiTableCellDataPtr(ImGuiTableCellData* ptr) : INullable
{
private ImGuiTableCellData* _ptr = ptr;
public ImGuiTableCellData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiTableCellDataPtr(ImGuiTableCellData* ptr) => new(ptr);
public static implicit operator ImGuiTableCellData*(ImGuiTableCellDataPtr wrapper) => wrapper.Ptr;
///
///
/// Actual color
///
///
/// C++:
/// imgui_internal.h:3097
///
ImU32 BgColor
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
public ref uint BgColor => ref Unsafe.AsRef(&_ptr->BgColor);
///
///
/// Column number
///
///
/// C++:
/// imgui_internal.h:3098
///
ImGuiTableColumnIdx Column
///
///
///
///
/// Transient cell data stored per row.
/// sizeof() ~ 6 bytes
///
///
public ref short Column => ref Unsafe.AsRef(&_ptr->Column);
}
}