mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
139 lines
5.3 KiB
C#
139 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>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2285">imgui_internal.h:2285</see>
|
|
/// <br/><c>struct MS_STRUCT ImGuiStackLevelInfo</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Explicit, Size = 72)]
|
|
public unsafe partial struct ImGuiStackLevelInfo
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2287">imgui_internal.h:2287</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// >= 1: Query in progress
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2288">imgui_internal.h:2288</see>
|
|
/// <br/><c>ImS8 QueryFrameCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(4)]
|
|
public sbyte QueryFrameCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Obtained result from DebugHookIdInfo()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2289">imgui_internal.h:2289</see>
|
|
/// <br/><c>bool QuerySuccess</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(5)]
|
|
public Bool8 QuerySuccess;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2290">imgui_internal.h:2290</see>
|
|
/// <br/><c>ImGuiDataType DataType : 8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
[FieldOffset(8)]
|
|
public ImGuiDataType DataType;
|
|
|
|
/// <summary>
|
|
/// Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) FIXME: Now
|
|
/// that we added CTRL+C this should be fixed.
|
|
/// </summary>
|
|
[FieldOffset(12)]
|
|
public fixed byte Desc[57];
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2285">imgui_internal.h:2285</see>
|
|
/// <br/><c>struct MS_STRUCT ImGuiStackLevelInfo</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public unsafe partial struct ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* ptr) : INullable
|
|
{
|
|
private ImGuiStackLevelInfo* _ptr = ptr;
|
|
public ImGuiStackLevelInfo* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiStackLevelInfoPtr(ImGuiStackLevelInfo* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiStackLevelInfo*(ImGuiStackLevelInfoPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2287">imgui_internal.h:2287</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// >= 1: Query in progress
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2288">imgui_internal.h:2288</see>
|
|
/// <br/><c>ImS8 QueryFrameCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref sbyte QueryFrameCount => ref Unsafe.AsRef<sbyte>(&_ptr->QueryFrameCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Obtained result from DebugHookIdInfo()
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2289">imgui_internal.h:2289</see>
|
|
/// <br/><c>bool QuerySuccess</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref bool QuerySuccess => ref Unsafe.AsRef<bool>(&_ptr->QuerySuccess);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2290">imgui_internal.h:2290</see>
|
|
/// <br/><c>ImGuiDataType DataType : 8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
public ref ImGuiDataType DataType => ref Unsafe.AsRef<ImGuiDataType>(&_ptr->DataType);
|
|
|
|
/// <summary>
|
|
/// Arbitrarily sized buffer to hold a result (FIXME: could replace Results[] with a chunk stream?) FIXME: Now
|
|
/// that we added CTRL+C this should be fixed.
|
|
/// </summary>
|
|
public Span<byte> Desc => MemoryMarshal.CreateSpan(ref _ptr->Desc[0], 57);
|
|
}
|
|
}
|