mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 22:18: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,155 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hook for extensions like ImGuiTestEngine
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L152">imgui_internal.h:152</see>
|
||||
/// <br/><c>struct ImGuiContextHook</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 32)]
|
||||
public partial struct ImGuiContextHook
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A unique ID assigned by AddContextHook()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2319">imgui_internal.h:2319</see>
|
||||
/// <br/><c>ImGuiID HookId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiID HookId;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2320">imgui_internal.h:2320</see>
|
||||
/// <br/><c>ImGuiContextHookType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(4)]
|
||||
public ImGuiContextHookType Type;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2321">imgui_internal.h:2321</see>
|
||||
/// <br/><c>ImGuiID Owner</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public ImGuiID Owner;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2322">imgui_internal.h:2322</see>
|
||||
/// <br/><c>ImGuiContextHookCallback Callback</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(16)]
|
||||
public nint Callback;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2323">imgui_internal.h:2323</see>
|
||||
/// <br/><c>void* UserData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(24)]
|
||||
public nint UserData;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Hook for extensions like ImGuiTestEngine
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L152">imgui_internal.h:152</see>
|
||||
/// <br/><c>struct ImGuiContextHook</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiContextHookPtr(ImGuiContextHook* ptr) : INullable
|
||||
{
|
||||
private ImGuiContextHook* _ptr = ptr;
|
||||
public ImGuiContextHook* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiContextHookPtr(ImGuiContextHook* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiContextHook*(ImGuiContextHookPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A unique ID assigned by AddContextHook()
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2319">imgui_internal.h:2319</see>
|
||||
/// <br/><c>ImGuiID HookId</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiID HookId => ref Unsafe.AsRef<ImGuiID>(&_ptr->HookId);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2320">imgui_internal.h:2320</see>
|
||||
/// <br/><c>ImGuiContextHookType Type</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiContextHookType Type => ref Unsafe.AsRef<ImGuiContextHookType>(&_ptr->Type);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2321">imgui_internal.h:2321</see>
|
||||
/// <br/><c>ImGuiID Owner</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiID Owner => ref Unsafe.AsRef<ImGuiID>(&_ptr->Owner);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2322">imgui_internal.h:2322</see>
|
||||
/// <br/><c>ImGuiContextHookCallback Callback</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref nint Callback => ref Unsafe.AsRef<nint>(&_ptr->Callback);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2323">imgui_internal.h:2323</see>
|
||||
/// <br/><c>void* UserData</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref nint UserData => ref Unsafe.AsRef<nint>(&_ptr->UserData);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue