//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Multi-selection temporary state (while traversing).
///
///
/// C++:
/// imgui_internal.h:167
///
struct ImGuiMultiSelectTempData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 96)]
public partial struct ImGuiMultiSelectTempData
{
///
///
/// MUST BE FIRST FIELD. Requests are set and returned by BeginMultiSelect()/EndMultiSelect() + written to
/// by user during the loop.
///
///
/// C++:
/// imgui_internal.h:1893
///
ImGuiMultiSelectIO IO
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(0)]
public ImGuiMultiSelectIO IO;
///
///
/// C++:
/// imgui_internal.h:1894
///
ImGuiMultiSelectState* Storage
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(40)]
public ImGuiMultiSelectStatePtr Storage;
///
///
/// Copied from g.CurrentFocusScopeId (unless another selection scope was pushed manually)
///
///
/// C++:
/// imgui_internal.h:1895
///
ImGuiID FocusScopeId
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(48)]
public ImGuiID FocusScopeId;
///
///
/// C++:
/// imgui_internal.h:1896
///
ImGuiMultiSelectFlags Flags
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(52)]
public ImGuiMultiSelectFlags Flags;
///
///
/// C++:
/// imgui_internal.h:1897
///
ImVec2 ScopeRectMin
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(56)]
public float2 ScopeRectMin;
///
///
/// C++:
/// imgui_internal.h:1898
///
ImVec2 BackupCursorMaxPos
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(64)]
public float2 BackupCursorMaxPos;
///
///
/// Copy of last submitted item data, used to merge output ranges.
///
///
/// C++:
/// imgui_internal.h:1899
///
ImGuiSelectionUserData LastSubmittedItem
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(72)]
public ulong LastSubmittedItem;
///
///
/// C++:
/// imgui_internal.h:1900
///
ImGuiID BoxSelectId
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(80)]
public ImGuiID BoxSelectId;
///
///
/// C++:
/// imgui_internal.h:1901
///
ImGuiKeyChord KeyMods
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(84)]
public ImGuiKeyChord KeyMods;
///
///
/// -1: no operation, 0: clear all, 1: select all.
///
///
/// C++:
/// imgui_internal.h:1902
///
ImS8 LoopRequestSetAll
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(88)]
public sbyte LoopRequestSetAll;
///
///
/// Set when switching IO from BeginMultiSelect() to EndMultiSelect() state.
///
///
/// C++:
/// imgui_internal.h:1903
///
bool IsEndIO
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(89)]
public Bool8 IsEndIO;
///
///
/// Set if currently focusing the selection scope (any item of the selection). May be used if you have
/// custom shortcut associated to selection.
///
///
/// C++:
/// imgui_internal.h:1904
///
bool IsFocused
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(90)]
public Bool8 IsFocused;
///
///
/// Set by BeginMultiSelect() when using Shift+Navigation. Because scrolling may be affected we can't afford
/// a frame of lag with Shift+Navigation.
///
///
/// C++:
/// imgui_internal.h:1905
///
bool IsKeyboardSetRange
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(91)]
public Bool8 IsKeyboardSetRange;
///
///
/// C++:
/// imgui_internal.h:1906
///
bool NavIdPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(92)]
public Bool8 NavIdPassedBy;
///
///
/// Set by the item that matches RangeSrcItem.
///
///
/// C++:
/// imgui_internal.h:1907
///
bool RangeSrcPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(93)]
public Bool8 RangeSrcPassedBy;
///
///
/// Set by the item that matches NavJustMovedToId when IsSetRange is set.
///
///
/// C++:
/// imgui_internal.h:1908
///
bool RangeDstPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
[FieldOffset(94)]
public Bool8 RangeDstPassedBy;
}
///
///
/// Multi-selection temporary state (while traversing).
///
///
/// C++:
/// imgui_internal.h:167
///
struct ImGuiMultiSelectTempData
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiMultiSelectTempDataPtr(ImGuiMultiSelectTempData* ptr) : INullable
{
private ImGuiMultiSelectTempData* _ptr = ptr;
public ImGuiMultiSelectTempData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiMultiSelectTempDataPtr(ImGuiMultiSelectTempData* ptr) => new(ptr);
public static implicit operator ImGuiMultiSelectTempData*(ImGuiMultiSelectTempDataPtr wrapper) => wrapper.Ptr;
///
///
/// MUST BE FIRST FIELD. Requests are set and returned by BeginMultiSelect()/EndMultiSelect() + written to
/// by user during the loop.
///
///
/// C++:
/// imgui_internal.h:1893
///
ImGuiMultiSelectIO IO
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiMultiSelectIO IO => ref Unsafe.AsRef(&_ptr->IO);
///
///
/// C++:
/// imgui_internal.h:1894
///
ImGuiMultiSelectState* Storage
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiMultiSelectStatePtr Storage => ref Unsafe.AsRef(&_ptr->Storage);
///
///
/// Copied from g.CurrentFocusScopeId (unless another selection scope was pushed manually)
///
///
/// C++:
/// imgui_internal.h:1895
///
ImGuiID FocusScopeId
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiID FocusScopeId => ref Unsafe.AsRef(&_ptr->FocusScopeId);
///
///
/// C++:
/// imgui_internal.h:1896
///
ImGuiMultiSelectFlags Flags
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiMultiSelectFlags Flags => ref Unsafe.AsRef(&_ptr->Flags);
///
///
/// C++:
/// imgui_internal.h:1897
///
ImVec2 ScopeRectMin
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref float2 ScopeRectMin => ref Unsafe.AsRef(&_ptr->ScopeRectMin);
///
///
/// C++:
/// imgui_internal.h:1898
///
ImVec2 BackupCursorMaxPos
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref float2 BackupCursorMaxPos => ref Unsafe.AsRef(&_ptr->BackupCursorMaxPos);
///
///
/// Copy of last submitted item data, used to merge output ranges.
///
///
/// C++:
/// imgui_internal.h:1899
///
ImGuiSelectionUserData LastSubmittedItem
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ulong LastSubmittedItem => ref Unsafe.AsRef(&_ptr->LastSubmittedItem);
///
///
/// C++:
/// imgui_internal.h:1900
///
ImGuiID BoxSelectId
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiID BoxSelectId => ref Unsafe.AsRef(&_ptr->BoxSelectId);
///
///
/// C++:
/// imgui_internal.h:1901
///
ImGuiKeyChord KeyMods
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref ImGuiKeyChord KeyMods => ref Unsafe.AsRef(&_ptr->KeyMods);
///
///
/// -1: no operation, 0: clear all, 1: select all.
///
///
/// C++:
/// imgui_internal.h:1902
///
ImS8 LoopRequestSetAll
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref sbyte LoopRequestSetAll => ref Unsafe.AsRef(&_ptr->LoopRequestSetAll);
///
///
/// Set when switching IO from BeginMultiSelect() to EndMultiSelect() state.
///
///
/// C++:
/// imgui_internal.h:1903
///
bool IsEndIO
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool IsEndIO => ref Unsafe.AsRef(&_ptr->IsEndIO);
///
///
/// Set if currently focusing the selection scope (any item of the selection). May be used if you have
/// custom shortcut associated to selection.
///
///
/// C++:
/// imgui_internal.h:1904
///
bool IsFocused
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool IsFocused => ref Unsafe.AsRef(&_ptr->IsFocused);
///
///
/// Set by BeginMultiSelect() when using Shift+Navigation. Because scrolling may be affected we can't afford
/// a frame of lag with Shift+Navigation.
///
///
/// C++:
/// imgui_internal.h:1905
///
bool IsKeyboardSetRange
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool IsKeyboardSetRange => ref Unsafe.AsRef(&_ptr->IsKeyboardSetRange);
///
///
/// C++:
/// imgui_internal.h:1906
///
bool NavIdPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool NavIdPassedBy => ref Unsafe.AsRef(&_ptr->NavIdPassedBy);
///
///
/// Set by the item that matches RangeSrcItem.
///
///
/// C++:
/// imgui_internal.h:1907
///
bool RangeSrcPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool RangeSrcPassedBy => ref Unsafe.AsRef(&_ptr->RangeSrcPassedBy);
///
///
/// Set by the item that matches NavJustMovedToId when IsSetRange is set.
///
///
/// C++:
/// imgui_internal.h:1908
///
bool RangeDstPassedBy
///
///
///
///
/// Temporary storage for multi-select
///
///
public ref bool RangeDstPassedBy => ref Unsafe.AsRef(&_ptr->RangeDstPassedBy);
}
}