//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// Helper for key->value storage (container sorted by key)
///
///
/// C++:
/// imgui.h:210
///
struct ImGuiStorage
///
///
///
///
/// Forward declarations: ImGui layer
///
///
[StructLayout(LayoutKind.Explicit, Size = 16)]
public partial struct ImGuiStorage
{
///
///
/// C++:
/// imgui.h:2877
///
ImVector<ImGuiStoragePair> Data
///
///
///
///
/// [Internal]
///
///
[FieldOffset(0)]
public ImVector Data;
}
///
///
/// Helper for key->value storage (container sorted by key)
///
///
/// C++:
/// imgui.h:210
///
struct ImGuiStorage
///
///
///
///
/// Forward declarations: ImGui layer
///
///
public unsafe partial struct ImGuiStoragePtr(ImGuiStorage* ptr) : INullable
{
private ImGuiStorage* _ptr = ptr;
public ImGuiStorage* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiStoragePtr(ImGuiStorage* ptr) => new(ptr);
public static implicit operator ImGuiStorage*(ImGuiStoragePtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui.h:2877
///
ImVector<ImGuiStoragePair> Data
///
///
///
///
/// [Internal]
///
///
public ref ImVector Data => ref Unsafe.AsRef>(&_ptr->Data);
}
}