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,143 @@
|
|||
// <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#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>struct ImGuiInputEventMousePos { float PosX, PosY; ImGuiMouseSource MouseSource; }</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
||||
public partial struct ImGuiInputEventMousePos
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>float PosX</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public float PosX;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>float PosX, PosY</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public float PosY;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>ImGuiMouseSource MouseSource</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
[FieldOffset(8)]
|
||||
public ImGuiMouseSource MouseSource;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>struct ImGuiInputEventMousePos { float PosX, PosY; ImGuiMouseSource MouseSource; }</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiInputEventMousePosPtr(ImGuiInputEventMousePos* ptr) : INullable
|
||||
{
|
||||
private ImGuiInputEventMousePos* _ptr = ptr;
|
||||
public ImGuiInputEventMousePos* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiInputEventMousePosPtr(ImGuiInputEventMousePos* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiInputEventMousePos*(ImGuiInputEventMousePosPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>float PosX</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float PosX => ref Unsafe.AsRef<float>(&_ptr->PosX);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>float PosX, PosY</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref float PosY => ref Unsafe.AsRef<float>(&_ptr->PosY);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1521">imgui_internal.h:1521</see>
|
||||
/// <br/><c>ImGuiMouseSource MouseSource</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <code>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'
|
||||
/// </code>
|
||||
/// </remarks>
|
||||
public ref ImGuiMouseSource MouseSource => ref Unsafe.AsRef<ImGuiMouseSource>(&_ptr->MouseSource);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue