mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
311 lines
14 KiB
C#
311 lines
14 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>
|
|
/// Temporary storage for TreeNode().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L187">imgui_internal.h:187</see>
|
|
/// <br/><c>struct ImGuiTreeNodeStackData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 40)]
|
|
public partial struct ImGuiTreeNodeStackData
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1380">imgui_internal.h:1380</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(0)]
|
|
public ImGuiID ID;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1381">imgui_internal.h:1381</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags TreeFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(4)]
|
|
public ImGuiTreeNodeFlags TreeFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used for nav landing
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1382">imgui_internal.h:1382</see>
|
|
/// <br/><c>ImGuiItemFlags ItemFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(8)]
|
|
public ImGuiItemFlags ItemFlags;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used for nav landing
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1383">imgui_internal.h:1383</see>
|
|
/// <br/><c>ImRect NavRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(12)]
|
|
public floatRect NavRect;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1384">imgui_internal.h:1384</see>
|
|
/// <br/><c>float DrawLinesX1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(28)]
|
|
public float DrawLinesX1;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1385">imgui_internal.h:1385</see>
|
|
/// <br/><c>float DrawLinesToNodesY2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(32)]
|
|
public float DrawLinesToNodesY2;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1386">imgui_internal.h:1386</see>
|
|
/// <br/><c>ImGuiTableColumnIdx DrawLinesTableColumn</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(36)]
|
|
public short DrawLinesTableColumn;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary storage for TreeNode().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L187">imgui_internal.h:187</see>
|
|
/// <br/><c>struct ImGuiTreeNodeStackData</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// ImGui
|
|
/// </para>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiTreeNodeStackDataPtr(ImGuiTreeNodeStackData* ptr) : INullable
|
|
{
|
|
private ImGuiTreeNodeStackData* _ptr = ptr;
|
|
public ImGuiTreeNodeStackData* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiTreeNodeStackDataPtr(ImGuiTreeNodeStackData* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiTreeNodeStackData*(ImGuiTreeNodeStackDataPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1380">imgui_internal.h:1380</see>
|
|
/// <br/><c>ImGuiID ID</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiID ID => ref Unsafe.AsRef<ImGuiID>(&_ptr->ID);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1381">imgui_internal.h:1381</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags TreeFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiTreeNodeFlags TreeFlags => ref Unsafe.AsRef<ImGuiTreeNodeFlags>(&_ptr->TreeFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used for nav landing
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1382">imgui_internal.h:1382</see>
|
|
/// <br/><c>ImGuiItemFlags ItemFlags</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef<ImGuiItemFlags>(&_ptr->ItemFlags);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Used for nav landing
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1383">imgui_internal.h:1383</see>
|
|
/// <br/><c>ImRect NavRect</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref floatRect NavRect => ref Unsafe.AsRef<floatRect>(&_ptr->NavRect);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1384">imgui_internal.h:1384</see>
|
|
/// <br/><c>float DrawLinesX1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float DrawLinesX1 => ref Unsafe.AsRef<float>(&_ptr->DrawLinesX1);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1385">imgui_internal.h:1385</see>
|
|
/// <br/><c>float DrawLinesToNodesY2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float DrawLinesToNodesY2 => ref Unsafe.AsRef<float>(&_ptr->DrawLinesToNodesY2);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L1386">imgui_internal.h:1386</see>
|
|
/// <br/><c>ImGuiTableColumnIdx DrawLinesTableColumn</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Store data emitted by TreeNode() for usage by TreePop()
|
|
/// - To implement ImGuiTreeNodeFlags_NavLeftJumpsToParent: store the minimum amount of data
|
|
/// which we can't infer in TreePop(), to perform the equivalent of NavApplyItemToResult().
|
|
/// Only stored when the node is a potential candidate for landing on a Left arrow jump.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref short DrawLinesTableColumn => ref Unsafe.AsRef<short>(&_ptr->DrawLinesTableColumn);
|
|
}
|
|
}
|