mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
SOURCE DUMP v1
This commit is contained in:
parent
bd62d51ec9
commit
fb20299e9d
1 changed files with 768360 additions and 0 deletions
|
|
@ -0,0 +1,95 @@
|
|||
// <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);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue