mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 13:38: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,123 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace Brutal.ImGuiApi.Internal
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Style variable information (e.g. to access style variables from an enum)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L177">imgui_internal.h:177</see>
|
||||
/// <br/><c>struct ImGuiStyleVarInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 4)]
|
||||
public partial struct ImGuiStyleVarInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 1+
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L896">imgui_internal.h:896</see>
|
||||
/// <br/><c>ImU32 Count : 8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(0)]
|
||||
public uint Count;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L897">imgui_internal.h:897</see>
|
||||
/// <br/><c>ImGuiDataType DataType : 8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(1)]
|
||||
public ImGuiDataType DataType;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Offset in parent structure
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L898">imgui_internal.h:898</see>
|
||||
/// <br/><c>ImU32 Offset : 16</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[FieldOffset(2)]
|
||||
public uint Offset;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Style variable information (e.g. to access style variables from an enum)
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L177">imgui_internal.h:177</see>
|
||||
/// <br/><c>struct ImGuiStyleVarInfo</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiStyleVarInfoPtr(ImGuiStyleVarInfo* ptr) : INullable
|
||||
{
|
||||
private ImGuiStyleVarInfo* _ptr = ptr;
|
||||
public ImGuiStyleVarInfo* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiStyleVarInfoPtr(ImGuiStyleVarInfo* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiStyleVarInfo*(ImGuiStyleVarInfoPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// 1+
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L896">imgui_internal.h:896</see>
|
||||
/// <br/><c>ImU32 Count : 8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref uint Count => ref Unsafe.AsRef<uint>(&_ptr->Count);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L897">imgui_internal.h:897</see>
|
||||
/// <br/><c>ImGuiDataType DataType : 8</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref ImGuiDataType DataType => ref Unsafe.AsRef<ImGuiDataType>(&_ptr->DataType);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Offset in parent structure
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L898">imgui_internal.h:898</see>
|
||||
/// <br/><c>ImU32 Offset : 16</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public ref uint Offset => ref Unsafe.AsRef<uint>(&_ptr->Offset);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue