//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Temporary storage for TreeNode().
///
///
/// C++:
/// imgui_internal.h:187
///
struct ImGuiTreeNodeStackData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 40)]
public partial struct ImGuiTreeNodeStackData
{
///
///
/// C++:
/// imgui_internal.h:1380
///
ImGuiID ID
///
///
///
///
/// 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.
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// C++:
/// imgui_internal.h:1381
///
ImGuiTreeNodeFlags TreeFlags
///
///
///
///
/// 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.
///
///
[FieldOffset(4)]
public ImGuiTreeNodeFlags TreeFlags;
///
///
/// Used for nav landing
///
///
/// C++:
/// imgui_internal.h:1382
///
ImGuiItemFlags ItemFlags
///
///
///
///
/// 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.
///
///
[FieldOffset(8)]
public ImGuiItemFlags ItemFlags;
///
///
/// Used for nav landing
///
///
/// C++:
/// imgui_internal.h:1383
///
ImRect NavRect
///
///
///
///
/// 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.
///
///
[FieldOffset(12)]
public floatRect NavRect;
///
///
/// C++:
/// imgui_internal.h:1384
///
float DrawLinesX1
///
///
///
///
/// 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.
///
///
[FieldOffset(28)]
public float DrawLinesX1;
///
///
/// C++:
/// imgui_internal.h:1385
///
float DrawLinesToNodesY2
///
///
///
///
/// 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.
///
///
[FieldOffset(32)]
public float DrawLinesToNodesY2;
///
///
/// C++:
/// imgui_internal.h:1386
///
ImGuiTableColumnIdx DrawLinesTableColumn
///
///
///
///
/// 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.
///
///
[FieldOffset(36)]
public short DrawLinesTableColumn;
}
///
///
/// Temporary storage for TreeNode().
///
///
/// C++:
/// imgui_internal.h:187
///
struct ImGuiTreeNodeStackData
///
///
///
///
/// ImGui
///
///
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;
///
///
/// C++:
/// imgui_internal.h:1380
///
ImGuiID ID
///
///
///
///
/// 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.
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// C++:
/// imgui_internal.h:1381
///
ImGuiTreeNodeFlags TreeFlags
///
///
///
///
/// 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.
///
///
public ref ImGuiTreeNodeFlags TreeFlags => ref Unsafe.AsRef(&_ptr->TreeFlags);
///
///
/// Used for nav landing
///
///
/// C++:
/// imgui_internal.h:1382
///
ImGuiItemFlags ItemFlags
///
///
///
///
/// 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.
///
///
public ref ImGuiItemFlags ItemFlags => ref Unsafe.AsRef(&_ptr->ItemFlags);
///
///
/// Used for nav landing
///
///
/// C++:
/// imgui_internal.h:1383
///
ImRect NavRect
///
///
///
///
/// 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.
///
///
public ref floatRect NavRect => ref Unsafe.AsRef(&_ptr->NavRect);
///
///
/// C++:
/// imgui_internal.h:1384
///
float DrawLinesX1
///
///
///
///
/// 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.
///
///
public ref float DrawLinesX1 => ref Unsafe.AsRef(&_ptr->DrawLinesX1);
///
///
/// C++:
/// imgui_internal.h:1385
///
float DrawLinesToNodesY2
///
///
///
///
/// 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.
///
///
public ref float DrawLinesToNodesY2 => ref Unsafe.AsRef(&_ptr->DrawLinesToNodesY2);
///
///
/// C++:
/// imgui_internal.h:1386
///
ImGuiTableColumnIdx DrawLinesTableColumn
///
///
///
///
/// 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.
///
///
public ref short DrawLinesTableColumn => ref Unsafe.AsRef(&_ptr->DrawLinesTableColumn);
}
}