mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
147 lines
5.3 KiB
C#
147 lines
5.3 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L176">imgui_internal.h:176</see>
|
|
/// <br/><c>struct ImGuiStyleMod</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 12)]
|
|
public partial struct ImGuiStyleMod
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L912">imgui_internal.h:912</see>
|
|
/// <br/><c>ImGuiStyleVar VarIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiStyleVar VarIdx;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L913">imgui_internal.h:913</see>
|
|
/// <br/><c>int BackupInt[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public int2 BackupInt;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L913">imgui_internal.h:913</see>
|
|
/// <br/><c>float BackupFloat[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public float2 BackupFloat;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L176">imgui_internal.h:176</see>
|
|
/// <br/><c>struct ImGuiStyleMod</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiStyleModPtr(ImGuiStyleMod* ptr) : INullable
|
|
{
|
|
private ImGuiStyleMod* _ptr = ptr;
|
|
public ImGuiStyleMod* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiStyleModPtr(ImGuiStyleMod* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiStyleMod*(ImGuiStyleModPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L912">imgui_internal.h:912</see>
|
|
/// <br/><c>ImGuiStyleVar VarIdx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref ImGuiStyleVar VarIdx => ref Unsafe.AsRef<ImGuiStyleVar>(&_ptr->VarIdx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L913">imgui_internal.h:913</see>
|
|
/// <br/><c>int BackupInt[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref int2 BackupInt => ref Unsafe.AsRef<int2>(&_ptr->BackupInt);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L913">imgui_internal.h:913</see>
|
|
/// <br/><c>float BackupFloat[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Stacked style modifier, backup of modified data so we can restore it. Data type inferred from the
|
|
/// variable.
|
|
/// </para>
|
|
/// </remarks>
|
|
public ref float2 BackupFloat => ref Unsafe.AsRef<float2>(&_ptr->BackupFloat);
|
|
}
|
|
}
|