mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58: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,157 @@
|
|||
// <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#L1571">imgui_internal.h:1571</see>
|
||||
/// <br/><c>struct ImGuiKeyRoutingTable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 344)]
|
||||
public partial struct ImGuiKeyRoutingTable
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Index of first entry in Entries[]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1573">imgui_internal.h:1573</see>
|
||||
/// <br/><c>ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public short_155 Index;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1574">imgui_internal.h:1574</see>
|
||||
/// <br/><c>ImVector<ImGuiKeyRoutingData> Entries</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(312)]
|
||||
public ImVector<ImGuiKeyRoutingData> Entries;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Double-buffer to avoid reallocation (could use a shared buffer)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1575">imgui_internal.h:1575</see>
|
||||
/// <br/><c>ImVector<ImGuiKeyRoutingData> EntriesNext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(328)]
|
||||
public ImVector<ImGuiKeyRoutingData> EntriesNext;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1571">imgui_internal.h:1571</see>
|
||||
/// <br/><c>struct ImGuiKeyRoutingTable</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* ptr) : INullable
|
||||
{
|
||||
private ImGuiKeyRoutingTable* _ptr = ptr;
|
||||
public ImGuiKeyRoutingTable* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiKeyRoutingTablePtr(ImGuiKeyRoutingTable* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiKeyRoutingTable*(ImGuiKeyRoutingTablePtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Index of first entry in Entries[]
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1573">imgui_internal.h:1573</see>
|
||||
/// <br/><c>ImGuiKeyRoutingIndex Index[ImGuiKey_NamedKey_COUNT]</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref short_155 Index => ref Unsafe.AsRef<short_155>(&_ptr->Index);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1574">imgui_internal.h:1574</see>
|
||||
/// <br/><c>ImVector<ImGuiKeyRoutingData> Entries</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiKeyRoutingData> Entries =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiKeyRoutingData>>(&_ptr->Entries);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Double-buffer to avoid reallocation (could use a shared buffer)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1575">imgui_internal.h:1575</see>
|
||||
/// <br/><c>ImVector<ImGuiKeyRoutingData> EntriesNext</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// Routing table: maintain a desired owner for each possible key-chord (key + mods), and setup owner in NewFrame() when mods are matching.
|
||||
/// Stored in main context (1 instance)
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImVector<ImGuiKeyRoutingData> EntriesNext =>
|
||||
ref Unsafe.AsRef<ImVector<ImGuiKeyRoutingData>>(&_ptr->EntriesNext);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue