//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Storage for window-style data which needs to be stored for docking purpose
///
///
/// C++:
/// imgui_internal.h:191
///
struct ImGuiWindowDockStyle
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 32)]
public partial struct ImGuiWindowDockStyle
{
///
///
/// C++:
/// imgui_internal.h:2071
///
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT]
///
///
///
///
/// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the
/// docking tab, which intuitively I would say we don't want to.
///
///
[FieldOffset(0)]
public uint_8 Colors;
}
///
///
/// Storage for window-style data which needs to be stored for docking purpose
///
///
/// C++:
/// imgui_internal.h:191
///
struct ImGuiWindowDockStyle
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiWindowDockStylePtr(ImGuiWindowDockStyle* ptr) : INullable
{
private ImGuiWindowDockStyle* _ptr = ptr;
public ImGuiWindowDockStyle* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiWindowDockStylePtr(ImGuiWindowDockStyle* ptr) => new(ptr);
public static implicit operator ImGuiWindowDockStyle*(ImGuiWindowDockStylePtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:2071
///
ImU32 Colors[ImGuiWindowDockStyleCol_COUNT]
///
///
///
///
/// We don't store style.Alpha: dock_node->LastBgColor embeds it and otherwise it would only affect the
/// docking tab, which intuitively I would say we don't want to.
///
///
public ref uint_8 Colors => ref Unsafe.AsRef(&_ptr->Colors);
}
}