mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
95 lines
3.5 KiB
C#
95 lines
3.5 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2249">imgui_internal.h:2249</see>
|
|
/// <br/><c>struct ImGuiDebugAllocEntry</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit, Size = 8)]
|
|
public partial struct ImGuiDebugAllocEntry
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2251">imgui_internal.h:2251</see>
|
|
/// <br/><c>int FrameCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public int FrameCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2252">imgui_internal.h:2252</see>
|
|
/// <br/><c>ImS16 AllocCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(4)]
|
|
public short AllocCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2253">imgui_internal.h:2253</see>
|
|
/// <br/><c>ImS16 FreeCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(6)]
|
|
public short FreeCount;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2249">imgui_internal.h:2249</see>
|
|
/// <br/><c>struct ImGuiDebugAllocEntry</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public unsafe partial struct ImGuiDebugAllocEntryPtr(ImGuiDebugAllocEntry* ptr) : INullable
|
|
{
|
|
private ImGuiDebugAllocEntry* _ptr = ptr;
|
|
public ImGuiDebugAllocEntry* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiDebugAllocEntryPtr(ImGuiDebugAllocEntry* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiDebugAllocEntry*(ImGuiDebugAllocEntryPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2251">imgui_internal.h:2251</see>
|
|
/// <br/><c>int FrameCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref int FrameCount => ref Unsafe.AsRef<int>(&_ptr->FrameCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2252">imgui_internal.h:2252</see>
|
|
/// <br/><c>ImS16 AllocCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref short AllocCount => ref Unsafe.AsRef<short>(&_ptr->AllocCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2253">imgui_internal.h:2253</see>
|
|
/// <br/><c>ImS16 FreeCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref short FreeCount => ref Unsafe.AsRef<short>(&_ptr->FreeCount);
|
|
}
|
|
}
|