mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 04:58:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
112
Brutal.ImGui/Generated-Internal/Structs/ImGuiColorMod.gen.cs
Normal file
112
Brutal.ImGui/Generated-Internal/Structs/ImGuiColorMod.gen.cs
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
// <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 color 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#L150">imgui_internal.h:150</see>
|
||||
/// <br/><c>struct ImGuiColorMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 20)]
|
||||
public partial struct ImGuiColorMod
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L905">imgui_internal.h:905</see>
|
||||
/// <br/><c>ImGuiCol Col</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(0)]
|
||||
public ImGuiCol Col;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L906">imgui_internal.h:906</see>
|
||||
/// <br/><c>ImVec4 BackupValue</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
[FieldOffset(4)]
|
||||
public float4 BackupValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Stacked color 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#L150">imgui_internal.h:150</see>
|
||||
/// <br/><c>struct ImGuiColorMod</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// ImGui
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public unsafe partial struct ImGuiColorModPtr(ImGuiColorMod* ptr) : INullable
|
||||
{
|
||||
private ImGuiColorMod* _ptr = ptr;
|
||||
public ImGuiColorMod* Ptr => _ptr;
|
||||
|
||||
public bool IsNull() => _ptr is null;
|
||||
|
||||
public static implicit operator ImGuiColorModPtr(ImGuiColorMod* ptr) => new(ptr);
|
||||
|
||||
public static implicit operator ImGuiColorMod*(ImGuiColorModPtr wrapper) => wrapper.Ptr;
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L905">imgui_internal.h:905</see>
|
||||
/// <br/><c>ImGuiCol Col</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref ImGuiCol Col => ref Unsafe.AsRef<ImGuiCol>(&_ptr->Col);
|
||||
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L906">imgui_internal.h:906</see>
|
||||
/// <br/><c>ImVec4 BackupValue</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it
|
||||
/// </para>
|
||||
/// </remarks>
|
||||
public ref float4 BackupValue => ref Unsafe.AsRef<float4>(&_ptr->BackupValue);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue