mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
123 lines
4.2 KiB
C#
123 lines
4.2 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>
|
|
/// 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);
|
|
}
|
|
}
|