mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +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,170 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper for key->value storage (pair)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L211">imgui.h:211</see>
|
||||
/// <br/><c>struct ImGuiStoragePair</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImGui layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImGuiStoragePair
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2859">imgui.h:2859</see>
|
||||
/// <br/><c>ImGuiID key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID key;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>int val_i</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public int val_i;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>float val_f</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public float val_f;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>void* val_p</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public nint val_p;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper for key->value storage (pair)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L211">imgui.h:211</see>
|
||||
/// <br/><c>struct ImGuiStoragePair</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Forward declarations: ImGui layer
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiStoragePairPtr(ImGuiStoragePair* ptr) : INullable
|
||||
{
|
||||
private ImGuiStoragePair* _ptr = ptr;
|
||||
public ImGuiStoragePair* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiStoragePairPtr(ImGuiStoragePair* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiStoragePair*(ImGuiStoragePairPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2859">imgui.h:2859</see>
|
||||
/// <br/><c>ImGuiID key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiID key => ref Unsafe.AsRef<ImGuiID>(&_ptr->key);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>int val_i</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref int val_i => ref Unsafe.AsRef<int>(&_ptr->val_i);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>float val_f</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float val_f => ref Unsafe.AsRef<float>(&_ptr->val_f);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2860">imgui.h:2860</see>
|
||||
/// <br/><c>void* val_p</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// [Internal] Key+Value for ImGuiStorage
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref nint val_p => ref Unsafe.AsRef<nint>(&_ptr->val_p);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue