mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 05:28: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,92 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A localization entry.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L164">imgui_internal.h:164</see>
|
||||
/// <br/><c>struct ImGuiLocEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 16)]
|
||||
public partial struct ImGuiLocEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2202">imgui_internal.h:2202</see>
|
||||
/// <br/><c>ImGuiLocKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiLocKey Key;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2203">imgui_internal.h:2203</see>
|
||||
/// <br/><c>const char* Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(8)]
|
||||
public Ptr<byte> Text;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// A localization entry.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L164">imgui_internal.h:164</see>
|
||||
/// <br/><c>struct ImGuiLocEntry</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiLocEntryPtr(ImGuiLocEntry* ptr) : INullable
|
||||
{
|
||||
private ImGuiLocEntry* _ptr = ptr;
|
||||
public ImGuiLocEntry* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiLocEntryPtr(ImGuiLocEntry* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiLocEntry*(ImGuiLocEntryPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2202">imgui_internal.h:2202</see>
|
||||
/// <br/><c>ImGuiLocKey Key</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiLocKey Key => ref Unsafe.AsRef<ImGuiLocKey>(&_ptr->Key);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2203">imgui_internal.h:2203</see>
|
||||
/// <br/><c>const char* Text</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref Ptr<byte> Text => ref Unsafe.AsRef<Ptr<byte>>(&_ptr->Text);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue