//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// Dear ImGui context (opaque structure, unless including imgui_internal.h)
///
///
/// C++:
/// imgui.h:195
///
struct ImGuiContext
///
///
///
///
/// Forward declarations: ImGui layer
///
///
[StructLayout(LayoutKind.Explicit, Size = 11320)]
public unsafe partial struct ImGuiContext
{
///
///
/// C++:
/// imgui_internal.h:2334
///
bool Initialized
///
///
[FieldOffset(0)]
public Bool8 Initialized;
///
///
/// C++:
/// imgui_internal.h:2335
///
ImGuiIO IO
///
///
[FieldOffset(8)]
public ImGuiIO IO;
///
///
/// C++:
/// imgui_internal.h:2336
///
ImGuiPlatformIO PlatformIO
///
///
[FieldOffset(3072)]
public ImGuiPlatformIO PlatformIO;
///
///
/// C++:
/// imgui_internal.h:2337
///
ImGuiStyle Style
///
///
[FieldOffset(3400)]
public ImGuiStyle Style;
///
///
/// = g.IO.ConfigFlags at the time of NewFrame()
///
///
/// C++:
/// imgui_internal.h:2338
///
ImGuiConfigFlags ConfigFlagsCurrFrame
///
///
[FieldOffset(4676)]
public ImGuiConfigFlags ConfigFlagsCurrFrame;
///
///
/// C++:
/// imgui_internal.h:2339
///
ImGuiConfigFlags ConfigFlagsLastFrame
///
///
[FieldOffset(4680)]
public ImGuiConfigFlags ConfigFlagsLastFrame;
///
///
/// List of font atlases used by the context (generally only contains g.IO.Fonts aka the main font atlas)
///
///
/// C++:
/// imgui_internal.h:2340
///
ImVector<ImFontAtlas*> FontAtlases
///
///
[FieldOffset(4688)]
public ImVector FontAtlases;
///
///
/// Currently bound font. (== FontStack.back().Font)
///
///
/// C++:
/// imgui_internal.h:2341
///
ImFont* Font
///
///
[FieldOffset(4704)]
public ImFontPtr Font;
///
///
/// Currently bound font at currently bound size. (== Font->GetFontBaked(FontSize))
///
///
/// C++:
/// imgui_internal.h:2342
///
ImFontBaked* FontBaked
///
///
[FieldOffset(4712)]
public ImFontBakedPtr FontBaked;
///
///
/// Currently bound font size == line height (== FontSizeBase + externals scales applied in the
/// UpdateCurrentFontSize() function).
///
///
/// C++:
/// imgui_internal.h:2343
///
float FontSize
///
///
[FieldOffset(4720)]
public float FontSize;
///
///
/// Font size before scaling == style.FontSizeBase == value passed to PushFont() when specified.
///
///
/// C++:
/// imgui_internal.h:2344
///
float FontSizeBase
///
///
[FieldOffset(4724)]
public float FontSizeBase;
///
///
/// == FontBaked->Size / FontSize. Scale factor over baked size. Rarely used nowadays, very often ==
/// 1.0f.
///
///
/// C++:
/// imgui_internal.h:2345
///
float FontBakedScale
///
///
[FieldOffset(4728)]
public float FontBakedScale;
///
///
/// Current font density. Used by all calls to GetFontBaked().
///
///
/// C++:
/// imgui_internal.h:2346
///
float FontRasterizerDensity
///
///
[FieldOffset(4732)]
public float FontRasterizerDensity;
///
///
/// Current window/viewport DpiScale == CurrentViewport->DpiScale
///
///
/// C++:
/// imgui_internal.h:2347
///
float CurrentDpiScale
///
///
[FieldOffset(4736)]
public float CurrentDpiScale;
///
///
/// C++:
/// imgui_internal.h:2348
///
ImDrawListSharedData DrawListSharedData
///
///
[FieldOffset(4744)]
public ImDrawListSharedData DrawListSharedData;
///
///
/// C++:
/// imgui_internal.h:2349
///
double Time
///
///
[FieldOffset(5312)]
public double Time;
///
///
/// C++:
/// imgui_internal.h:2350
///
int FrameCount
///
///
[FieldOffset(5320)]
public int FrameCount;
///
///
/// C++:
/// imgui_internal.h:2351
///
int FrameCountEnded
///
///
[FieldOffset(5324)]
public int FrameCountEnded;
///
///
/// C++:
/// imgui_internal.h:2352
///
int FrameCountPlatformEnded
///
///
[FieldOffset(5328)]
public int FrameCountPlatformEnded;
///
///
/// C++:
/// imgui_internal.h:2353
///
int FrameCountRendered
///
///
[FieldOffset(5332)]
public int FrameCountRendered;
///
///
/// Set within EndChild()
///
///
/// C++:
/// imgui_internal.h:2354
///
ImGuiID WithinEndChildID
///
///
[FieldOffset(5336)]
public ImGuiID WithinEndChildID;
///
///
/// Set by NewFrame(), cleared by EndFrame()
///
///
/// C++:
/// imgui_internal.h:2355
///
bool WithinFrameScope
///
///
[FieldOffset(5340)]
public Bool8 WithinFrameScope;
///
///
/// Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed
///
///
/// C++:
/// imgui_internal.h:2356
///
bool WithinFrameScopeWithImplicitWindow
///
///
[FieldOffset(5341)]
public Bool8 WithinFrameScopeWithImplicitWindow;
///
///
/// Request full GC
///
///
/// C++:
/// imgui_internal.h:2357
///
bool GcCompactAll
///
///
[FieldOffset(5342)]
public Bool8 GcCompactAll;
///
///
/// Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(),
/// ImGuiTestEngineHook_Log()
///
///
/// C++:
/// imgui_internal.h:2358
///
bool TestEngineHookItems
///
///
[FieldOffset(5343)]
public Bool8 TestEngineHookItems;
///
///
/// Test engine user data
///
///
/// C++:
/// imgui_internal.h:2359
///
void* TestEngine
///
///
[FieldOffset(5344)]
public nint TestEngine;
///
/// Storage for a context name (to facilitate debugging multi-context setups)
///
[FieldOffset(5352)]
public fixed byte ContextName[16];
///
///
/// Input events which will be trickled/written into IO structure.
///
///
/// C++:
/// imgui_internal.h:2363
///
ImVector<ImGuiInputEvent> InputEventsQueue
///
///
///
///
/// Inputs
///
///
[FieldOffset(5368)]
public ImVector InputEventsQueue;
///
///
/// Past input events processed in NewFrame(). This is to allow domain-specific application to access e.g
/// mouse/pen trail.
///
///
/// C++:
/// imgui_internal.h:2364
///
ImVector<ImGuiInputEvent> InputEventsTrail
///
///
///
///
/// Inputs
///
///
[FieldOffset(5384)]
public ImVector InputEventsTrail;
///
///
/// C++:
/// imgui_internal.h:2365
///
ImGuiMouseSource InputEventsNextMouseSource
///
///
///
///
/// Inputs
///
///
[FieldOffset(5400)]
public ImGuiMouseSource InputEventsNextMouseSource;
///
///
/// C++:
/// imgui_internal.h:2366
///
ImU32 InputEventsNextEventId
///
///
///
///
/// Inputs
///
///
[FieldOffset(5404)]
public uint InputEventsNextEventId;
///
///
/// Windows, sorted in display order, back to front
///
///
/// C++:
/// imgui_internal.h:2369
///
ImVector<ImGuiWindow*> Windows
///
///
///
///
/// Windows state
///
///
[FieldOffset(5408)]
public ImVector Windows;
///
///
/// Root windows, sorted in focus order, back to front.
///
///
/// C++:
/// imgui_internal.h:2370
///
ImVector<ImGuiWindow*> WindowsFocusOrder
///
///
///
///
/// Windows state
///
///
[FieldOffset(5424)]
public ImVector WindowsFocusOrder;
///
///
/// Temporary buffer used in EndFrame() to reorder windows so parents are kept before their child
///
///
/// C++:
/// imgui_internal.h:2371
///
ImVector<ImGuiWindow*> WindowsTempSortBuffer
///
///
///
///
/// Windows state
///
///
[FieldOffset(5440)]
public ImVector WindowsTempSortBuffer;
///
///
/// C++:
/// imgui_internal.h:2372
///
ImVector<ImGuiWindowStackData> CurrentWindowStack
///
///
///
///
/// Windows state
///
///
[FieldOffset(5456)]
public ImVector CurrentWindowStack;
///
///
/// Map window's ImGuiID to ImGuiWindow*
///
///
/// C++:
/// imgui_internal.h:2373
///
ImGuiStorage WindowsById
///
///
///
///
/// Windows state
///
///
[FieldOffset(5472)]
public ImGuiStorage WindowsById;
///
///
/// Number of unique windows submitted by frame
///
///
/// C++:
/// imgui_internal.h:2374
///
int WindowsActiveCount
///
///
///
///
/// Windows state
///
///
[FieldOffset(5488)]
public int WindowsActiveCount;
///
///
/// Padding around resizable windows for which hovering on counts as hovering the window ==
/// ImMax(style.TouchExtraPadding, style.WindowBorderHoverPadding). This isn't so multi-dpi friendly.
///
///
/// C++:
/// imgui_internal.h:2375
///
float WindowsBorderHoverPadding
///
///
///
///
/// Windows state
///
///
[FieldOffset(5492)]
public float WindowsBorderHoverPadding;
///
///
/// Set to break in Begin() call.
///
///
/// C++:
/// imgui_internal.h:2376
///
ImGuiID DebugBreakInWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5496)]
public ImGuiID DebugBreakInWindow;
///
///
/// Window being drawn into
///
///
/// C++:
/// imgui_internal.h:2377
///
ImGuiWindow* CurrentWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5504)]
public ImGuiWindowPtr CurrentWindow;
///
///
/// Window the mouse is hovering. Will typically catch mouse inputs.
///
///
/// C++:
/// imgui_internal.h:2378
///
ImGuiWindow* HoveredWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5512)]
public ImGuiWindowPtr HoveredWindow;
///
///
/// Hovered window ignoring MovingWindow. Only set if MovingWindow is set.
///
///
/// C++:
/// imgui_internal.h:2379
///
ImGuiWindow* HoveredWindowUnderMovingWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5520)]
public ImGuiWindowPtr HoveredWindowUnderMovingWindow;
///
///
/// Window the mouse is hovering. Filled even with _NoMouse. This is currently useful for multi-context
/// compositors.
///
///
/// C++:
/// imgui_internal.h:2380
///
ImGuiWindow* HoveredWindowBeforeClear
///
///
///
///
/// Windows state
///
///
[FieldOffset(5528)]
public ImGuiWindowPtr HoveredWindowBeforeClear;
///
///
/// Track the window we clicked on (in order to preserve focus). The actual window that is moved is
/// generally MovingWindow->RootWindowDockTree.
///
///
/// C++:
/// imgui_internal.h:2381
///
ImGuiWindow* MovingWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5536)]
public ImGuiWindowPtr MovingWindow;
///
///
/// Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep
/// scrolling the same window even if during the course of scrolling the mouse ends up hovering a child
/// window.
///
///
/// C++:
/// imgui_internal.h:2382
///
ImGuiWindow* WheelingWindow
///
///
///
///
/// Windows state
///
///
[FieldOffset(5544)]
public ImGuiWindowPtr WheelingWindow;
///
///
/// C++:
/// imgui_internal.h:2383
///
ImVec2 WheelingWindowRefMousePos
///
///
///
///
/// Windows state
///
///
[FieldOffset(5552)]
public float2 WheelingWindowRefMousePos;
///
///
/// This may be set one frame before WheelingWindow is != NULL
///
///
/// C++:
/// imgui_internal.h:2384
///
int WheelingWindowStartFrame
///
///
///
///
/// Windows state
///
///
[FieldOffset(5560)]
public int WheelingWindowStartFrame;
///
///
/// C++:
/// imgui_internal.h:2385
///
int WheelingWindowScrolledFrame
///
///
///
///
/// Windows state
///
///
[FieldOffset(5564)]
public int WheelingWindowScrolledFrame;
///
///
/// C++:
/// imgui_internal.h:2386
///
float WheelingWindowReleaseTimer
///
///
///
///
/// Windows state
///
///
[FieldOffset(5568)]
public float WheelingWindowReleaseTimer;
///
///
/// C++:
/// imgui_internal.h:2387
///
ImVec2 WheelingWindowWheelRemainder
///
///
///
///
/// Windows state
///
///
[FieldOffset(5572)]
public float2 WheelingWindowWheelRemainder;
///
///
/// C++:
/// imgui_internal.h:2388
///
ImVec2 WheelingAxisAvg
///
///
///
///
/// Windows state
///
///
[FieldOffset(5580)]
public float2 WheelingAxisAvg;
///
///
/// Set when we detect multiple items with the same identifier
///
///
/// C++:
/// imgui_internal.h:2391
///
ImGuiID DebugDrawIdConflictsId
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5588)]
public ImGuiID DebugDrawIdConflictsId;
///
///
/// Will call core hooks: DebugHookIdInfo() from GetID functions, used by ID Stack Tool [next
/// HoveredId/ActiveId to not pull in an extra cache-line]
///
///
/// C++:
/// imgui_internal.h:2392
///
ImGuiID DebugHookIdInfo
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5592)]
public ImGuiID DebugHookIdInfo;
///
///
/// Hovered widget, filled during the frame
///
///
/// C++:
/// imgui_internal.h:2393
///
ImGuiID HoveredId
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5596)]
public ImGuiID HoveredId;
///
///
/// C++:
/// imgui_internal.h:2394
///
ImGuiID HoveredIdPreviousFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5600)]
public ImGuiID HoveredIdPreviousFrame;
///
///
/// Count numbers of items using the same ID as last frame's hovered id
///
///
/// C++:
/// imgui_internal.h:2395
///
int HoveredIdPreviousFrameItemCount
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5604)]
public int HoveredIdPreviousFrameItemCount;
///
///
/// Measure contiguous hovering time
///
///
/// C++:
/// imgui_internal.h:2396
///
float HoveredIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5608)]
public float HoveredIdTimer;
///
///
/// Measure contiguous hovering time where the item has not been active
///
///
/// C++:
/// imgui_internal.h:2397
///
float HoveredIdNotActiveTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5612)]
public float HoveredIdNotActiveTimer;
///
///
/// C++:
/// imgui_internal.h:2398
///
bool HoveredIdAllowOverlap
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5616)]
public Bool8 HoveredIdAllowOverlap;
///
///
/// At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May
/// be true even if HoveredId == 0.
///
///
/// C++:
/// imgui_internal.h:2399
///
bool HoveredIdIsDisabled
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5617)]
public Bool8 HoveredIdIsDisabled;
///
///
/// Disable ItemAdd() clipping, essentially a memory-locality friendly copy of LogEnabled
///
///
/// C++:
/// imgui_internal.h:2400
///
bool ItemUnclipByLog
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5618)]
public Bool8 ItemUnclipByLog;
///
///
/// Active widget
///
///
/// C++:
/// imgui_internal.h:2401
///
ImGuiID ActiveId
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5620)]
public ImGuiID ActiveId;
///
///
/// Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame)
///
///
/// C++:
/// imgui_internal.h:2402
///
ImGuiID ActiveIdIsAlive
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5624)]
public ImGuiID ActiveIdIsAlive;
///
///
/// C++:
/// imgui_internal.h:2403
///
float ActiveIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5628)]
public float ActiveIdTimer;
///
///
/// Set at the time of activation for one frame
///
///
/// C++:
/// imgui_internal.h:2404
///
bool ActiveIdIsJustActivated
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5632)]
public Bool8 ActiveIdIsJustActivated;
///
///
/// Active widget allows another widget to steal active id (generally for overlapping widgets, but not
/// always)
///
///
/// C++:
/// imgui_internal.h:2405
///
bool ActiveIdAllowOverlap
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5633)]
public Bool8 ActiveIdAllowOverlap;
///
///
/// Disable losing active id if the active id window gets unfocused.
///
///
/// C++:
/// imgui_internal.h:2406
///
bool ActiveIdNoClearOnFocusLoss
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5634)]
public Bool8 ActiveIdNoClearOnFocusLoss;
///
///
/// Track whether the active id led to a press (this is to allow changing between PressOnClick and
/// PressOnRelease without pressing twice). Used by range_select branch.
///
///
/// C++:
/// imgui_internal.h:2407
///
bool ActiveIdHasBeenPressedBefore
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5635)]
public Bool8 ActiveIdHasBeenPressedBefore;
///
///
/// Was the value associated to the widget Edited over the course of the Active state.
///
///
/// C++:
/// imgui_internal.h:2408
///
bool ActiveIdHasBeenEditedBefore
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5636)]
public Bool8 ActiveIdHasBeenEditedBefore;
///
///
/// C++:
/// imgui_internal.h:2409
///
bool ActiveIdHasBeenEditedThisFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5637)]
public Bool8 ActiveIdHasBeenEditedThisFrame;
///
///
/// C++:
/// imgui_internal.h:2410
///
bool ActiveIdFromShortcut
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5638)]
public Bool8 ActiveIdFromShortcut;
///
///
/// C++:
/// imgui_internal.h:2411
///
int ActiveIdMouseButton : 8
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5640)]
public int ActiveIdMouseButton;
///
///
/// Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior)
///
///
/// C++:
/// imgui_internal.h:2412
///
ImVec2 ActiveIdClickOffset
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5644)]
public float2 ActiveIdClickOffset;
///
///
/// C++:
/// imgui_internal.h:2413
///
ImGuiWindow* ActiveIdWindow
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5656)]
public ImGuiWindowPtr ActiveIdWindow;
///
///
/// Activating source: ImGuiInputSource_Mouse OR ImGuiInputSource_Keyboard OR ImGuiInputSource_Gamepad
///
///
/// C++:
/// imgui_internal.h:2414
///
ImGuiInputSource ActiveIdSource
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5664)]
public ImGuiInputSource ActiveIdSource;
///
///
/// C++:
/// imgui_internal.h:2415
///
ImGuiID ActiveIdPreviousFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5668)]
public ImGuiID ActiveIdPreviousFrame;
///
///
/// C++:
/// imgui_internal.h:2416
///
ImGuiDeactivatedItemData DeactivatedItemData
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5672)]
public ImGuiDeactivatedItemData DeactivatedItemData;
///
///
/// Backup of initial value at the time of activation. ONLY SET BY SPECIFIC WIDGETS: DragXXX and SliderXXX.
///
///
/// C++:
/// imgui_internal.h:2417
///
ImGuiDataTypeStorage ActiveIdValueOnActivation
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5684)]
public ImGuiDataTypeStorage ActiveIdValueOnActivation;
///
///
/// Store the last non-zero ActiveId, useful for animation.
///
///
/// C++:
/// imgui_internal.h:2418
///
ImGuiID LastActiveId
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5692)]
public ImGuiID LastActiveId;
///
///
/// Store the last non-zero ActiveId timer since the beginning of activation, useful for animation.
///
///
/// C++:
/// imgui_internal.h:2419
///
float LastActiveIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
[FieldOffset(5696)]
public float LastActiveIdTimer;
///
///
/// Record the last time key mods changed (affect repeat delay when using shortcut logic)
///
///
/// C++:
/// imgui_internal.h:2425
///
double LastKeyModsChangeTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(5704)]
public double LastKeyModsChangeTime;
///
///
/// Record the last time key mods changed away from being 0 (affect repeat delay when using shortcut logic)
///
///
/// C++:
/// imgui_internal.h:2426
///
double LastKeyModsChangeFromNoneTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(5712)]
public double LastKeyModsChangeFromNoneTime;
///
///
/// Record the last time a keyboard key (ignore mouse/gamepad ones) was pressed.
///
///
/// C++:
/// imgui_internal.h:2427
///
double LastKeyboardKeyPressTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(5720)]
public double LastKeyboardKeyPressTime;
///
///
/// Lookup to tell if a key can emit char input, see IsKeyChordPotentiallyCharInput(). sizeof() = 20 bytes
///
///
/// C++:
/// imgui_internal.h:2428
///
ImBitArrayForNamedKeys KeysMayBeCharInput
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(5728)]
public ImBitArrayForNamedKeys KeysMayBeCharInput;
///
///
/// C++:
/// imgui_internal.h:2429
///
ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(5748)]
public ImGuiKeyOwnerData_155 KeysOwnerData;
///
///
/// C++:
/// imgui_internal.h:2430
///
ImGuiKeyRoutingTable KeysRoutingTable
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(7608)]
public ImGuiKeyRoutingTable KeysRoutingTable;
///
///
/// Active widget will want to read those nav move requests (e.g. can activate a button and move away from
/// it)
///
///
/// C++:
/// imgui_internal.h:2431
///
ImU32 ActiveIdUsingNavDirMask
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(7952)]
public uint ActiveIdUsingNavDirMask;
///
///
/// Active widget will want to read all keyboard keys inputs. (this is a shortcut for not taking ownership
/// of 100+ keys, frequently used by drag operations)
///
///
/// C++:
/// imgui_internal.h:2432
///
bool ActiveIdUsingAllKeyboardKeys
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(7956)]
public Bool8 ActiveIdUsingAllKeyboardKeys;
///
///
/// Set to break in SetShortcutRouting()/Shortcut() calls.
///
///
/// C++:
/// imgui_internal.h:2433
///
ImGuiKeyChord DebugBreakInShortcutRouting
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
[FieldOffset(7960)]
public ImGuiKeyChord DebugBreakInShortcutRouting;
///
///
/// Value for currently appending items == g.FocusScopeStack.back(). Not to be mistaken with
/// g.NavFocusScopeId.
///
///
/// C++:
/// imgui_internal.h:2437
///
ImGuiID CurrentFocusScopeId
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(7964)]
public ImGuiID CurrentFocusScopeId;
///
///
/// Value for currently appending items == g.ItemFlagsStack.back()
///
///
/// C++:
/// imgui_internal.h:2438
///
ImGuiItemFlags CurrentItemFlags
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(7968)]
public ImGuiItemFlags CurrentItemFlags;
///
///
/// Storage for DebugLocateItemOnHover() feature: this is read by ItemAdd() so we keep it in a hot/cached
/// location
///
///
/// C++:
/// imgui_internal.h:2439
///
ImGuiID DebugLocateId
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(7972)]
public ImGuiID DebugLocateId;
///
///
/// Storage for SetNextItem** functions
///
///
/// C++:
/// imgui_internal.h:2440
///
ImGuiNextItemData NextItemData
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(7976)]
public ImGuiNextItemData NextItemData;
///
///
/// Storage for last submitted item (setup by ItemAdd)
///
///
/// C++:
/// imgui_internal.h:2441
///
ImGuiLastItemData LastItemData
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(8032)]
public ImGuiLastItemData LastItemData;
///
///
/// Storage for SetNextWindow** functions
///
///
/// C++:
/// imgui_internal.h:2442
///
ImGuiNextWindowData NextWindowData
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(8112)]
public ImGuiNextWindowData NextWindowData;
///
///
/// C++:
/// imgui_internal.h:2443
///
bool DebugShowGroupRects
///
///
///
///
/// Next window/item data
///
///
[FieldOffset(8272)]
public Bool8 DebugShowGroupRects;
///
///
/// (Keep close to ColorStack to share cache line)
///
///
/// C++:
/// imgui_internal.h:2446
///
ImGuiCol DebugFlashStyleColorIdx
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8276)]
public ImGuiCol DebugFlashStyleColorIdx;
///
///
/// Stack for PushStyleColor()/PopStyleColor() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2447
///
ImVector<ImGuiColorMod> ColorStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8280)]
public ImVector ColorStack;
///
///
/// Stack for PushStyleVar()/PopStyleVar() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2448
///
ImVector<ImGuiStyleMod> StyleVarStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8296)]
public ImVector StyleVarStack;
///
///
/// Stack for PushFont()/PopFont() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2449
///
ImVector<ImFontStackData> FontStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8312)]
public ImVector FontStack;
///
///
/// Stack for PushFocusScope()/PopFocusScope() - inherited by BeginChild(), pushed into by Begin()
///
///
/// C++:
/// imgui_internal.h:2450
///
ImVector<ImGuiFocusScopeData> FocusScopeStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8328)]
public ImVector FocusScopeStack;
///
///
/// Stack for PushItemFlag()/PopItemFlag() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2451
///
ImVector<ImGuiItemFlags> ItemFlagsStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8344)]
public ImVector ItemFlagsStack;
///
///
/// Stack for BeginGroup()/EndGroup() - not inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2452
///
ImVector<ImGuiGroupData> GroupStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8360)]
public ImVector GroupStack;
///
///
/// Which popups are open (persistent)
///
///
/// C++:
/// imgui_internal.h:2453
///
ImVector<ImGuiPopupData> OpenPopupStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8376)]
public ImVector OpenPopupStack;
///
///
/// Which level of BeginPopup() we are in (reset every frame)
///
///
/// C++:
/// imgui_internal.h:2454
///
ImVector<ImGuiPopupData> BeginPopupStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8392)]
public ImVector BeginPopupStack;
///
///
/// Stack for TreeNode()
///
///
/// C++:
/// imgui_internal.h:2455
///
ImVector<ImGuiTreeNodeStackData>TreeNodeStack
///
///
///
///
/// Shared stacks
///
///
[FieldOffset(8408)]
public ImVector TreeNodeStack;
///
///
/// Active viewports (always 1+, and generally 1 unless multi-viewports are enabled). Each viewports hold
/// their copy of ImDrawData.
///
///
/// C++:
/// imgui_internal.h:2458
///
ImVector<ImGuiViewportP*> Viewports
///
///
///
///
/// Viewports
///
///
[FieldOffset(8424)]
public ImVector Viewports;
///
///
/// We track changes of viewport (happening in Begin) so we can call Platform_OnChangedViewport()
///
///
/// C++:
/// imgui_internal.h:2459
///
ImGuiViewportP* CurrentViewport
///
///
///
///
/// Viewports
///
///
[FieldOffset(8440)]
public ImGuiViewportPPtr CurrentViewport;
///
///
/// C++:
/// imgui_internal.h:2460
///
ImGuiViewportP* MouseViewport
///
///
///
///
/// Viewports
///
///
[FieldOffset(8448)]
public ImGuiViewportPPtr MouseViewport;
///
///
/// Last known viewport that was hovered by mouse (even if we are not hovering any viewport any more) +
/// honoring the _NoInputs flag.
///
///
/// C++:
/// imgui_internal.h:2461
///
ImGuiViewportP* MouseLastHoveredViewport
///
///
///
///
/// Viewports
///
///
[FieldOffset(8456)]
public ImGuiViewportPPtr MouseLastHoveredViewport;
///
///
/// C++:
/// imgui_internal.h:2462
///
ImGuiID PlatformLastFocusedViewportId
///
///
///
///
/// Viewports
///
///
[FieldOffset(8464)]
public ImGuiID PlatformLastFocusedViewportId;
///
///
/// Virtual monitor used as fallback if backend doesn't provide monitor information.
///
///
/// C++:
/// imgui_internal.h:2463
///
ImGuiPlatformMonitor FallbackMonitor
///
///
///
///
/// Viewports
///
///
[FieldOffset(8472)]
public ImGuiPlatformMonitor FallbackMonitor;
///
///
/// Bounding box of all platform monitors
///
///
/// C++:
/// imgui_internal.h:2464
///
ImRect PlatformMonitorsFullWorkRect
///
///
///
///
/// Viewports
///
///
[FieldOffset(8520)]
public floatRect PlatformMonitorsFullWorkRect;
///
///
/// Unique sequential creation counter (mostly for testing/debugging)
///
///
/// C++:
/// imgui_internal.h:2465
///
int ViewportCreatedCount
///
///
///
///
/// Viewports
///
///
[FieldOffset(8536)]
public int ViewportCreatedCount;
///
///
/// Unique sequential creation counter (mostly for testing/debugging)
///
///
/// C++:
/// imgui_internal.h:2466
///
int PlatformWindowsCreatedCount
///
///
///
///
/// Viewports
///
///
[FieldOffset(8540)]
public int PlatformWindowsCreatedCount;
///
///
/// Every time the front-most window changes, we stamp its viewport with an incrementing counter
///
///
/// C++:
/// imgui_internal.h:2467
///
int ViewportFocusedStampCount
///
///
///
///
/// Viewports
///
///
[FieldOffset(8544)]
public int ViewportFocusedStampCount;
///
///
/// Nav focus cursor/rectangle is visible? We hide it after a mouse click. We show it after a nav move.
///
///
/// C++:
/// imgui_internal.h:2470
///
bool NavCursorVisible
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8548)]
public Bool8 NavCursorVisible;
///
///
/// Disable mouse hovering highlight. Highlight navigation focused item instead of mouse hovered item.
///
///
/// C++:
/// imgui_internal.h:2471
///
bool NavHighlightItemUnderNav
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8549)]
public Bool8 NavHighlightItemUnderNav;
///
///
/// When set we will update mouse position if io.ConfigNavMoveSetMousePos is set (not enabled by default)
///
///
/// C++:
/// imgui_internal.h:2474
///
bool NavMousePosDirty
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8550)]
public Bool8 NavMousePosDirty;
///
///
/// Nav widget has been seen this frame ~~ NavRectRel is valid
///
///
/// C++:
/// imgui_internal.h:2475
///
bool NavIdIsAlive
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8551)]
public Bool8 NavIdIsAlive;
///
///
/// Focused item for navigation
///
///
/// C++:
/// imgui_internal.h:2476
///
ImGuiID NavId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8552)]
public ImGuiID NavId;
///
///
/// Focused window for navigation. Could be called 'FocusedWindow'
///
///
/// C++:
/// imgui_internal.h:2477
///
ImGuiWindow* NavWindow
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8560)]
public ImGuiWindowPtr NavWindow;
///
///
/// Focused focus scope (e.g. selection code often wants to "clear other items" when landing on an item of
/// the same scope)
///
///
/// C++:
/// imgui_internal.h:2478
///
ImGuiID NavFocusScopeId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8568)]
public ImGuiID NavFocusScopeId;
///
///
/// Focused layer (main scrolling layer, or menu/title bar layer)
///
///
/// C++:
/// imgui_internal.h:2479
///
ImGuiNavLayer NavLayer
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8572)]
public ImGuiNavLayer NavLayer;
///
///
/// ~~ (g.ActiveId == 0) && (IsKeyPressed(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) ||
/// IsKeyPressed(ImGuiKey_NavGamepadActivate)) ? NavId : 0, also set when calling ActivateItemByID()
///
///
/// C++:
/// imgui_internal.h:2480
///
ImGuiID NavActivateId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8576)]
public ImGuiID NavActivateId;
///
///
/// ~~ IsKeyDown(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) || IsKeyDown(ImGuiKey_NavGamepadActivate) ?
/// NavId : 0
///
///
/// C++:
/// imgui_internal.h:2481
///
ImGuiID NavActivateDownId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8580)]
public ImGuiID NavActivateDownId;
///
///
/// ~~ IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_Enter) ||
/// IsKeyPressed(ImGuiKey_NavGamepadActivate) ? NavId : 0 (no repeat)
///
///
/// C++:
/// imgui_internal.h:2482
///
ImGuiID NavActivatePressedId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8584)]
public ImGuiID NavActivatePressedId;
///
///
/// C++:
/// imgui_internal.h:2483
///
ImGuiActivateFlags NavActivateFlags
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8588)]
public ImGuiActivateFlags NavActivateFlags;
///
///
/// Reversed copy focus scope stack for NavId (should contains NavFocusScopeId). This essentially follow the
/// window->ParentWindowForFocusRoute chain.
///
///
/// C++:
/// imgui_internal.h:2484
///
ImVector<ImGuiFocusScopeData> NavFocusRoute
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8592)]
public ImVector NavFocusRoute;
///
///
/// C++:
/// imgui_internal.h:2485
///
ImGuiID NavHighlightActivatedId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8608)]
public ImGuiID NavHighlightActivatedId;
///
///
/// C++:
/// imgui_internal.h:2486
///
float NavHighlightActivatedTimer
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8612)]
public float NavHighlightActivatedTimer;
///
///
/// Set by ActivateItemByID(), queued until next frame.
///
///
/// C++:
/// imgui_internal.h:2487
///
ImGuiID NavNextActivateId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8616)]
public ImGuiID NavNextActivateId;
///
///
/// C++:
/// imgui_internal.h:2488
///
ImGuiActivateFlags NavNextActivateFlags
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8620)]
public ImGuiActivateFlags NavNextActivateFlags;
///
///
/// Keyboard or Gamepad mode? THIS CAN ONLY BE ImGuiInputSource_Keyboard or ImGuiInputSource_Mouse
///
///
/// C++:
/// imgui_internal.h:2489
///
ImGuiInputSource NavInputSource
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8624)]
public ImGuiInputSource NavInputSource;
///
///
/// Last valid data passed to SetNextItemSelectionUser(), or -1. For current window. Not reset when focusing
/// an item that doesn't have selection data.
///
///
/// C++:
/// imgui_internal.h:2490
///
ImGuiSelectionUserData NavLastValidSelectionUserData
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8632)]
public ulong NavLastValidSelectionUserData;
///
///
/// C++:
/// imgui_internal.h:2491
///
ImS8 NavCursorHideFrames
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
[FieldOffset(8640)]
public sbyte NavCursorHideFrames;
///
///
/// ~~ NavMoveRequest || NavInitRequest this is to perform early out in ItemAdd()
///
///
/// C++:
/// imgui_internal.h:2495
///
bool NavAnyRequest
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8641)]
public Bool8 NavAnyRequest;
///
///
/// Init request for appearing window to select first item
///
///
/// C++:
/// imgui_internal.h:2496
///
bool NavInitRequest
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8642)]
public Bool8 NavInitRequest;
///
///
/// C++:
/// imgui_internal.h:2497
///
bool NavInitRequestFromMove
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8643)]
public Bool8 NavInitRequestFromMove;
///
///
/// Init request result (first item of the window, or one for which SetItemDefaultFocus() was called)
///
///
/// C++:
/// imgui_internal.h:2498
///
ImGuiNavItemData NavInitResult
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8648)]
public ImGuiNavItemData NavInitResult;
///
///
/// Move request submitted, will process result on next NewFrame()
///
///
/// C++:
/// imgui_internal.h:2499
///
bool NavMoveSubmitted
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8704)]
public Bool8 NavMoveSubmitted;
///
///
/// Move request submitted, still scoring incoming items
///
///
/// C++:
/// imgui_internal.h:2500
///
bool NavMoveScoringItems
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8705)]
public Bool8 NavMoveScoringItems;
///
///
/// C++:
/// imgui_internal.h:2501
///
bool NavMoveForwardToNextFrame
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8706)]
public Bool8 NavMoveForwardToNextFrame;
///
///
/// C++:
/// imgui_internal.h:2502
///
ImGuiNavMoveFlags NavMoveFlags
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8708)]
public ImGuiNavMoveFlags NavMoveFlags;
///
///
/// C++:
/// imgui_internal.h:2503
///
ImGuiScrollFlags NavMoveScrollFlags
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8712)]
public ImGuiScrollFlags NavMoveScrollFlags;
///
///
/// C++:
/// imgui_internal.h:2504
///
ImGuiKeyChord NavMoveKeyMods
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8716)]
public ImGuiKeyChord NavMoveKeyMods;
///
///
/// Direction of the move request (left/right/up/down)
///
///
/// C++:
/// imgui_internal.h:2505
///
ImGuiDir NavMoveDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8720)]
public ImGuiDir NavMoveDir;
///
///
/// C++:
/// imgui_internal.h:2506
///
ImGuiDir NavMoveDirForDebug
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8724)]
public ImGuiDir NavMoveDirForDebug;
///
///
/// FIXME-NAV: Describe the purpose of this better. Might want to rename?
///
///
/// C++:
/// imgui_internal.h:2507
///
ImGuiDir NavMoveClipDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8728)]
public ImGuiDir NavMoveClipDir;
///
///
/// Rectangle used for scoring, in screen space. Based of window->NavRectRel[], modified for directional
/// navigation scoring.
///
///
/// C++:
/// imgui_internal.h:2508
///
ImRect NavScoringRect
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8732)]
public floatRect NavScoringRect;
///
///
/// Some nav operations (such as PageUp/PageDown) enforce a region which clipper will attempt to always keep
/// submitted
///
///
/// C++:
/// imgui_internal.h:2509
///
ImRect NavScoringNoClipRect
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8748)]
public floatRect NavScoringNoClipRect;
///
///
/// Metrics for debugging
///
///
/// C++:
/// imgui_internal.h:2510
///
int NavScoringDebugCount
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8764)]
public int NavScoringDebugCount;
///
///
/// Generally -1 or +1, 0 when tabbing without a nav id
///
///
/// C++:
/// imgui_internal.h:2511
///
int NavTabbingDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8768)]
public int NavTabbingDir;
///
///
/// >0 when counting items for tabbing
///
///
/// C++:
/// imgui_internal.h:2512
///
int NavTabbingCounter
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8772)]
public int NavTabbingCounter;
///
///
/// Best move request candidate within NavWindow
///
///
/// C++:
/// imgui_internal.h:2513
///
ImGuiNavItemData NavMoveResultLocal
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8776)]
public ImGuiNavItemData NavMoveResultLocal;
///
///
/// Best move request candidate within NavWindow that are mostly visible (when using
/// ImGuiNavMoveFlags_AlsoScoreVisibleSet flag)
///
///
/// C++:
/// imgui_internal.h:2514
///
ImGuiNavItemData NavMoveResultLocalVisible
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8832)]
public ImGuiNavItemData NavMoveResultLocalVisible;
///
///
/// Best move request candidate within NavWindow's flattened hierarchy (when using
/// ImGuiWindowFlags_NavFlattened flag)
///
///
/// C++:
/// imgui_internal.h:2515
///
ImGuiNavItemData NavMoveResultOther
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8888)]
public ImGuiNavItemData NavMoveResultOther;
///
///
/// First tabbing request candidate within NavWindow and flattened hierarchy
///
///
/// C++:
/// imgui_internal.h:2516
///
ImGuiNavItemData NavTabbingResultFirst
///
///
///
///
/// Navigation: Init & Move Requests
///
///
[FieldOffset(8944)]
public ImGuiNavItemData NavTabbingResultFirst;
///
///
/// Just navigated from this focus scope id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2519
///
ImGuiID NavJustMovedFromFocusScopeId
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9000)]
public ImGuiID NavJustMovedFromFocusScopeId;
///
///
/// Just navigated to this id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2520
///
ImGuiID NavJustMovedToId
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9004)]
public ImGuiID NavJustMovedToId;
///
///
/// Just navigated to this focus scope id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2521
///
ImGuiID NavJustMovedToFocusScopeId
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9008)]
public ImGuiID NavJustMovedToFocusScopeId;
///
///
/// C++:
/// imgui_internal.h:2522
///
ImGuiKeyChord NavJustMovedToKeyMods
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9012)]
public ImGuiKeyChord NavJustMovedToKeyMods;
///
///
/// Copy of ImGuiNavMoveFlags_IsTabbing. Maybe we should store whole flags.
///
///
/// C++:
/// imgui_internal.h:2523
///
bool NavJustMovedToIsTabbing
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9016)]
public Bool8 NavJustMovedToIsTabbing;
///
///
/// Copy of move result's ItemFlags & ImGuiItemFlags_HasSelectionUserData). Maybe we should just store
/// ImGuiNavItemData.
///
///
/// C++:
/// imgui_internal.h:2524
///
bool NavJustMovedToHasSelectionData
///
///
///
///
/// Navigation: record of last move request
///
///
[FieldOffset(9017)]
public Bool8 NavJustMovedToHasSelectionData;
///
///
/// = true. Enable CTRL+TAB by holding ImGuiKey_GamepadFaceLeft (== ImGuiKey_NavGamepadMenu). When false,
/// the button may still be used to toggle Menu layer.
///
///
/// C++:
/// imgui_internal.h:2527
///
bool ConfigNavWindowingWithGamepad
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9018)]
public Bool8 ConfigNavWindowingWithGamepad;
///
///
/// = ImGuiMod_Ctrl | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiKey_Tab on OS X). For reconfiguration (see
/// #4828)
///
///
/// C++:
/// imgui_internal.h:2528
///
ImGuiKeyChord ConfigNavWindowingKeyNext
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9020)]
public ImGuiKeyChord ConfigNavWindowingKeyNext;
///
///
/// = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiMod_Shift | ImGuiKey_Tab on OS
/// X)
///
///
/// C++:
/// imgui_internal.h:2529
///
ImGuiKeyChord ConfigNavWindowingKeyPrev
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9024)]
public ImGuiKeyChord ConfigNavWindowingKeyPrev;
///
///
/// Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed
/// top-most!
///
///
/// C++:
/// imgui_internal.h:2530
///
ImGuiWindow* NavWindowingTarget
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9032)]
public ImGuiWindowPtr NavWindowingTarget;
///
///
/// Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so
/// the fade-out can stay on it.
///
///
/// C++:
/// imgui_internal.h:2531
///
ImGuiWindow* NavWindowingTargetAnim
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9040)]
public ImGuiWindowPtr NavWindowingTargetAnim;
///
///
/// Internal window actually listing the CTRL+Tab contents
///
///
/// C++:
/// imgui_internal.h:2532
///
ImGuiWindow* NavWindowingListWindow
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9048)]
public ImGuiWindowPtr NavWindowingListWindow;
///
///
/// C++:
/// imgui_internal.h:2533
///
float NavWindowingTimer
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9056)]
public float NavWindowingTimer;
///
///
/// C++:
/// imgui_internal.h:2534
///
float NavWindowingHighlightAlpha
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9060)]
public float NavWindowingHighlightAlpha;
///
///
/// C++:
/// imgui_internal.h:2535
///
ImGuiInputSource NavWindowingInputSource
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9064)]
public ImGuiInputSource NavWindowingInputSource;
///
///
/// Set while Alt or GamepadMenu is held, may be cleared by other operations, and processed when releasing
/// the key.
///
///
/// C++:
/// imgui_internal.h:2536
///
bool NavWindowingToggleLayer
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9068)]
public Bool8 NavWindowingToggleLayer;
///
///
/// Keyboard/gamepad key used when toggling to menu layer.
///
///
/// C++:
/// imgui_internal.h:2537
///
ImGuiKey NavWindowingToggleKey
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9072)]
public ImGuiKey NavWindowingToggleKey;
///
///
/// C++:
/// imgui_internal.h:2538
///
ImVec2 NavWindowingAccumDeltaPos
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9076)]
public float2 NavWindowingAccumDeltaPos;
///
///
/// C++:
/// imgui_internal.h:2539
///
ImVec2 NavWindowingAccumDeltaSize
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
[FieldOffset(9084)]
public float2 NavWindowingAccumDeltaSize;
///
///
/// 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list)
///
///
/// C++:
/// imgui_internal.h:2542
///
float DimBgRatio
///
///
///
///
/// Render
///
///
[FieldOffset(9092)]
public float DimBgRatio;
///
///
/// C++:
/// imgui_internal.h:2545
///
bool DragDropActive
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9096)]
public Bool8 DragDropActive;
///
///
/// Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag source.
///
///
/// C++:
/// imgui_internal.h:2546
///
bool DragDropWithinSource
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9097)]
public Bool8 DragDropWithinSource;
///
///
/// Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag target.
///
///
/// C++:
/// imgui_internal.h:2547
///
bool DragDropWithinTarget
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9098)]
public Bool8 DragDropWithinTarget;
///
///
/// C++:
/// imgui_internal.h:2548
///
ImGuiDragDropFlags DragDropSourceFlags
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9100)]
public ImGuiDragDropFlags DragDropSourceFlags;
///
///
/// C++:
/// imgui_internal.h:2549
///
int DragDropSourceFrameCount
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9104)]
public int DragDropSourceFrameCount;
///
///
/// C++:
/// imgui_internal.h:2550
///
int DragDropMouseButton
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9108)]
public int DragDropMouseButton;
///
///
/// C++:
/// imgui_internal.h:2551
///
ImGuiPayload DragDropPayload
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9112)]
public ImGuiPayload DragDropPayload;
///
///
/// Store rectangle of current target candidate (we favor small targets when overlapping)
///
///
/// C++:
/// imgui_internal.h:2552
///
ImRect DragDropTargetRect
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9176)]
public floatRect DragDropTargetRect;
///
///
/// Store ClipRect at the time of item's drawing
///
///
/// C++:
/// imgui_internal.h:2553
///
ImRect DragDropTargetClipRect
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9192)]
public floatRect DragDropTargetClipRect;
///
///
/// C++:
/// imgui_internal.h:2554
///
ImGuiID DragDropTargetId
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9208)]
public ImGuiID DragDropTargetId;
///
///
/// C++:
/// imgui_internal.h:2555
///
ImGuiDragDropFlags DragDropAcceptFlags
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9212)]
public ImGuiDragDropFlags DragDropAcceptFlags;
///
///
/// Target item surface (we resolve overlapping targets by prioritizing the smaller surface)
///
///
/// C++:
/// imgui_internal.h:2556
///
float DragDropAcceptIdCurrRectSurface
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9216)]
public float DragDropAcceptIdCurrRectSurface;
///
///
/// Target item id (set at the time of accepting the payload)
///
///
/// C++:
/// imgui_internal.h:2557
///
ImGuiID DragDropAcceptIdCurr
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9220)]
public ImGuiID DragDropAcceptIdCurr;
///
///
/// Target item id from previous frame (we need to store this to allow for overlapping drag and drop
/// targets)
///
///
/// C++:
/// imgui_internal.h:2558
///
ImGuiID DragDropAcceptIdPrev
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9224)]
public ImGuiID DragDropAcceptIdPrev;
///
///
/// Last time a target expressed a desire to accept the source
///
///
/// C++:
/// imgui_internal.h:2559
///
int DragDropAcceptFrameCount
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9228)]
public int DragDropAcceptFrameCount;
///
///
/// Set when holding a payload just made ButtonBehavior() return a press.
///
///
/// C++:
/// imgui_internal.h:2560
///
ImGuiID DragDropHoldJustPressedId
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9232)]
public ImGuiID DragDropHoldJustPressedId;
///
///
/// We don't expose the ImVector<> directly, ImGuiPayload only holds pointer+size
///
///
/// C++:
/// imgui_internal.h:2561
///
ImVector<unsigned char> DragDropPayloadBufHeap
///
///
///
///
/// Drag and Drop
///
///
[FieldOffset(9240)]
public ImVector DragDropPayloadBufHeap;
///
/// Local buffer for small payloads
///
[FieldOffset(9256)]
public fixed byte DragDropPayloadBufLocal[16];
///
///
/// C++:
/// imgui_internal.h:2565
///
int ClipperTempDataStacked
///
///
///
///
/// Clipper
///
///
[FieldOffset(9272)]
public int ClipperTempDataStacked;
///
///
/// C++:
/// imgui_internal.h:2566
///
ImVector<ImGuiListClipperData> ClipperTempData
///
///
///
///
/// Clipper
///
///
[FieldOffset(9280)]
public ImVector ClipperTempData;
///
///
/// C++:
/// imgui_internal.h:2569
///
ImGuiTable* CurrentTable
///
///
///
///
/// Tables
///
///
[FieldOffset(9296)]
public ImGuiTablePtr CurrentTable;
///
///
/// Set to break in BeginTable() call.
///
///
/// C++:
/// imgui_internal.h:2570
///
ImGuiID DebugBreakInTable
///
///
///
///
/// Tables
///
///
[FieldOffset(9304)]
public ImGuiID DebugBreakInTable;
///
///
/// Temporary table data size (because we leave previous instances undestructed, we generally don't use
/// TablesTempData.Size)
///
///
/// C++:
/// imgui_internal.h:2571
///
int TablesTempDataStacked
///
///
///
///
/// Tables
///
///
[FieldOffset(9308)]
public int TablesTempDataStacked;
///
///
/// Temporary table data (buffers reused/shared across instances, support nesting)
///
///
/// C++:
/// imgui_internal.h:2572
///
ImVector<ImGuiTableTempData> TablesTempData
///
///
///
///
/// Tables
///
///
[FieldOffset(9312)]
public ImVector TablesTempData;
///
///
/// Persistent table data
///
///
/// C++:
/// imgui_internal.h:2573
///
ImPool<ImGuiTable> Tables
///
///
///
///
/// Tables
///
///
[FieldOffset(9328)]
public ImPool Tables;
///
///
/// Last used timestamp of each tables (SOA, for efficient GC)
///
///
/// C++:
/// imgui_internal.h:2574
///
ImVector<float> TablesLastTimeActive
///
///
///
///
/// Tables
///
///
[FieldOffset(9368)]
public ImVector TablesLastTimeActive;
///
///
/// C++:
/// imgui_internal.h:2575
///
ImVector<ImDrawChannel> DrawChannelsTempMergeBuffer
///
///
///
///
/// Tables
///
///
[FieldOffset(9384)]
public ImVector DrawChannelsTempMergeBuffer;
///
///
/// C++:
/// imgui_internal.h:2578
///
ImGuiTabBar* CurrentTabBar
///
///
///
///
/// Tab bars
///
///
[FieldOffset(9400)]
public ImGuiTabBarPtr CurrentTabBar;
///
///
/// C++:
/// imgui_internal.h:2579
///
ImPool<ImGuiTabBar> TabBars
///
///
///
///
/// Tab bars
///
///
[FieldOffset(9408)]
public ImPool TabBars;
///
///
/// C++:
/// imgui_internal.h:2580
///
ImVector<ImGuiPtrOrIndex> CurrentTabBarStack
///
///
///
///
/// Tab bars
///
///
[FieldOffset(9448)]
public ImVector CurrentTabBarStack;
///
///
/// C++:
/// imgui_internal.h:2581
///
ImVector<ImGuiShrinkWidthItem> ShrinkWidthBuffer
///
///
///
///
/// Tab bars
///
///
[FieldOffset(9464)]
public ImVector ShrinkWidthBuffer;
///
///
/// C++:
/// imgui_internal.h:2584
///
ImGuiBoxSelectState BoxSelectState
///
///
///
///
/// Multi-Select state
///
///
[FieldOffset(9480)]
public ImGuiBoxSelectState BoxSelectState;
///
///
/// C++:
/// imgui_internal.h:2585
///
ImGuiMultiSelectTempData* CurrentMultiSelect
///
///
///
///
/// Multi-Select state
///
///
[FieldOffset(9584)]
public ImGuiMultiSelectTempDataPtr CurrentMultiSelect;
///
///
/// Temporary multi-select data size (because we leave previous instances undestructed, we generally don't
/// use MultiSelectTempData.Size)
///
///
/// C++:
/// imgui_internal.h:2586
///
int MultiSelectTempDataStacked
///
///
///
///
/// Multi-Select state
///
///
[FieldOffset(9592)]
public int MultiSelectTempDataStacked;
///
///
/// C++:
/// imgui_internal.h:2587
///
ImVector<ImGuiMultiSelectTempData> MultiSelectTempData
///
///
///
///
/// Multi-Select state
///
///
[FieldOffset(9600)]
public ImVector MultiSelectTempData;
///
///
/// C++:
/// imgui_internal.h:2588
///
ImPool<ImGuiMultiSelectState> MultiSelectStorage
///
///
///
///
/// Multi-Select state
///
///
[FieldOffset(9616)]
public ImPool MultiSelectStorage;
///
///
/// C++:
/// imgui_internal.h:2591
///
ImGuiID HoverItemDelayId
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9656)]
public ImGuiID HoverItemDelayId;
///
///
/// C++:
/// imgui_internal.h:2592
///
ImGuiID HoverItemDelayIdPreviousFrame
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9660)]
public ImGuiID HoverItemDelayIdPreviousFrame;
///
///
/// Currently used by IsItemHovered()
///
///
/// C++:
/// imgui_internal.h:2593
///
float HoverItemDelayTimer
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9664)]
public float HoverItemDelayTimer;
///
///
/// Currently used by IsItemHovered(): grace time before g.TooltipHoverTimer gets cleared.
///
///
/// C++:
/// imgui_internal.h:2594
///
float HoverItemDelayClearTimer
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9668)]
public float HoverItemDelayClearTimer;
///
///
/// Mouse has once been stationary on this item. Only reset after departing the item.
///
///
/// C++:
/// imgui_internal.h:2595
///
ImGuiID HoverItemUnlockedStationaryId
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9672)]
public ImGuiID HoverItemUnlockedStationaryId;
///
///
/// Mouse has once been stationary on this window. Only reset after departing the window.
///
///
/// C++:
/// imgui_internal.h:2596
///
ImGuiID HoverWindowUnlockedStationaryId
///
///
///
///
/// Hover Delay system
///
///
[FieldOffset(9676)]
public ImGuiID HoverWindowUnlockedStationaryId;
///
///
/// C++:
/// imgui_internal.h:2599
///
ImGuiMouseCursor MouseCursor
///
///
///
///
/// Mouse state
///
///
[FieldOffset(9680)]
public ImGuiMouseCursor MouseCursor;
///
///
/// Time the mouse has been stationary (with some loose heuristic)
///
///
/// C++:
/// imgui_internal.h:2600
///
float MouseStationaryTimer
///
///
///
///
/// Mouse state
///
///
[FieldOffset(9684)]
public float MouseStationaryTimer;
///
///
/// C++:
/// imgui_internal.h:2601
///
ImVec2 MouseLastValidPos
///
///
///
///
/// Mouse state
///
///
[FieldOffset(9688)]
public float2 MouseLastValidPos;
///
///
/// C++:
/// imgui_internal.h:2604
///
ImGuiInputTextState InputTextState
///
///
///
///
/// Widget state
///
///
[FieldOffset(9696)]
public ImGuiInputTextState InputTextState;
///
///
/// C++:
/// imgui_internal.h:2605
///
ImGuiInputTextDeactivatedState InputTextDeactivatedState
///
///
///
///
/// Widget state
///
///
[FieldOffset(9816)]
public ImGuiInputTextDeactivatedState InputTextDeactivatedState;
///
///
/// C++:
/// imgui_internal.h:2606
///
ImFontBaked InputTextPasswordFontBackupBaked
///
///
///
///
/// Widget state
///
///
[FieldOffset(9840)]
public ImFontBaked InputTextPasswordFontBackupBaked;
///
///
/// C++:
/// imgui_internal.h:2607
///
ImFontFlags InputTextPasswordFontBackupFlags
///
///
///
///
/// Widget state
///
///
[FieldOffset(9944)]
public ImFontFlags InputTextPasswordFontBackupFlags;
///
///
/// Temporary text input when CTRL+clicking on a slider, etc.
///
///
/// C++:
/// imgui_internal.h:2608
///
ImGuiID TempInputId
///
///
///
///
/// Widget state
///
///
[FieldOffset(9948)]
public ImGuiID TempInputId;
///
///
/// 0 for all data types
///
///
/// C++:
/// imgui_internal.h:2609
///
ImGuiDataTypeStorage DataTypeZeroValue
///
///
///
///
/// Widget state
///
///
[FieldOffset(9952)]
public ImGuiDataTypeStorage DataTypeZeroValue;
///
///
/// C++:
/// imgui_internal.h:2610
///
int BeginMenuDepth
///
///
///
///
/// Widget state
///
///
[FieldOffset(9960)]
public int BeginMenuDepth;
///
///
/// C++:
/// imgui_internal.h:2611
///
int BeginComboDepth
///
///
///
///
/// Widget state
///
///
[FieldOffset(9964)]
public int BeginComboDepth;
///
///
/// Store user options for color edit widgets
///
///
/// C++:
/// imgui_internal.h:2612
///
ImGuiColorEditFlags ColorEditOptions
///
///
///
///
/// Widget state
///
///
[FieldOffset(9968)]
public ImGuiColorEditFlags ColorEditOptions;
///
///
/// Set temporarily while inside of the parent-most ColorEdit4/ColorPicker4 (because they call each others).
///
///
/// C++:
/// imgui_internal.h:2613
///
ImGuiID ColorEditCurrentID
///
///
///
///
/// Widget state
///
///
[FieldOffset(9972)]
public ImGuiID ColorEditCurrentID;
///
///
/// ID we are saving/restoring HS for
///
///
/// C++:
/// imgui_internal.h:2614
///
ImGuiID ColorEditSavedID
///
///
///
///
/// Widget state
///
///
[FieldOffset(9976)]
public ImGuiID ColorEditSavedID;
///
///
/// Backup of last Hue associated to LastColor, so we can restore Hue in lossy RGB<>HSV round trips
///
///
/// C++:
/// imgui_internal.h:2615
///
float ColorEditSavedHue
///
///
///
///
/// Widget state
///
///
[FieldOffset(9980)]
public float ColorEditSavedHue;
///
///
/// Backup of last Saturation associated to LastColor, so we can restore Saturation in lossy RGB<>HSV
/// round trips
///
///
/// C++:
/// imgui_internal.h:2616
///
float ColorEditSavedSat
///
///
///
///
/// Widget state
///
///
[FieldOffset(9984)]
public float ColorEditSavedSat;
///
///
/// RGB value with alpha set to 0.
///
///
/// C++:
/// imgui_internal.h:2617
///
ImU32 ColorEditSavedColor
///
///
///
///
/// Widget state
///
///
[FieldOffset(9988)]
public uint ColorEditSavedColor;
///
///
/// Initial/reference color at the time of opening the color picker.
///
///
/// C++:
/// imgui_internal.h:2618
///
ImVec4 ColorPickerRef
///
///
///
///
/// Widget state
///
///
[FieldOffset(9992)]
public float4 ColorPickerRef;
///
///
/// C++:
/// imgui_internal.h:2619
///
ImGuiComboPreviewData ComboPreviewData
///
///
///
///
/// Widget state
///
///
[FieldOffset(10008)]
public ImGuiComboPreviewData ComboPreviewData;
///
///
/// Expected border rect, switch to relative edit if moving
///
///
/// C++:
/// imgui_internal.h:2620
///
ImRect WindowResizeBorderExpectedRect
///
///
///
///
/// Widget state
///
///
[FieldOffset(10056)]
public floatRect WindowResizeBorderExpectedRect;
///
///
/// C++:
/// imgui_internal.h:2621
///
bool WindowResizeRelativeMode
///
///
///
///
/// Widget state
///
///
[FieldOffset(10072)]
public Bool8 WindowResizeRelativeMode;
///
///
/// 0: scroll to clicked location, -1/+1: prev/next page.
///
///
/// C++:
/// imgui_internal.h:2622
///
short ScrollbarSeekMode
///
///
///
///
/// Widget state
///
///
[FieldOffset(10074)]
public short ScrollbarSeekMode;
///
///
/// When scrolling to mouse location: distance between mouse and center of grab box, normalized in parent
/// space.
///
///
/// C++:
/// imgui_internal.h:2623
///
float ScrollbarClickDeltaToGrabCenter
///
///
///
///
/// Widget state
///
///
[FieldOffset(10076)]
public float ScrollbarClickDeltaToGrabCenter;
///
///
/// C++:
/// imgui_internal.h:2624
///
float SliderGrabClickOffset
///
///
///
///
/// Widget state
///
///
[FieldOffset(10080)]
public float SliderGrabClickOffset;
///
///
/// Accumulated slider delta when using navigation controls.
///
///
/// C++:
/// imgui_internal.h:2625
///
float SliderCurrentAccum
///
///
///
///
/// Widget state
///
///
[FieldOffset(10084)]
public float SliderCurrentAccum;
///
///
/// Has the accumulated slider delta changed since last time we tried to apply it?
///
///
/// C++:
/// imgui_internal.h:2626
///
bool SliderCurrentAccumDirty
///
///
///
///
/// Widget state
///
///
[FieldOffset(10088)]
public Bool8 SliderCurrentAccumDirty;
///
///
/// C++:
/// imgui_internal.h:2627
///
bool DragCurrentAccumDirty
///
///
///
///
/// Widget state
///
///
[FieldOffset(10089)]
public Bool8 DragCurrentAccumDirty;
///
///
/// Accumulator for dragging modification. Always high-precision, not rounded by end-user precision settings
///
///
/// C++:
/// imgui_internal.h:2628
///
float DragCurrentAccum
///
///
///
///
/// Widget state
///
///
[FieldOffset(10092)]
public float DragCurrentAccum;
///
///
/// If speed == 0.0f, uses (max-min) * DragSpeedDefaultRatio
///
///
/// C++:
/// imgui_internal.h:2629
///
float DragSpeedDefaultRatio
///
///
///
///
/// Widget state
///
///
[FieldOffset(10096)]
public float DragSpeedDefaultRatio;
///
///
/// Backup for style.Alpha for BeginDisabled()
///
///
/// C++:
/// imgui_internal.h:2630
///
float DisabledAlphaBackup
///
///
///
///
/// Widget state
///
///
[FieldOffset(10100)]
public float DisabledAlphaBackup;
///
///
/// C++:
/// imgui_internal.h:2631
///
short DisabledStackSize
///
///
///
///
/// Widget state
///
///
[FieldOffset(10104)]
public short DisabledStackSize;
///
///
/// C++:
/// imgui_internal.h:2632
///
short TooltipOverrideCount
///
///
///
///
/// Widget state
///
///
[FieldOffset(10106)]
public short TooltipOverrideCount;
///
///
/// Window of last tooltip submitted during the frame
///
///
/// C++:
/// imgui_internal.h:2633
///
ImGuiWindow* TooltipPreviousWindow
///
///
///
///
/// Widget state
///
///
[FieldOffset(10112)]
public ImGuiWindowPtr TooltipPreviousWindow;
///
///
/// If no custom clipboard handler is defined
///
///
/// C++:
/// imgui_internal.h:2634
///
ImVector<char> ClipboardHandlerData
///
///
///
///
/// Widget state
///
///
[FieldOffset(10120)]
public ImVector ClipboardHandlerData;
///
///
/// A list of menu IDs that were rendered at least once
///
///
/// C++:
/// imgui_internal.h:2635
///
ImVector<ImGuiID> MenusIdSubmittedThisFrame
///
///
///
///
/// Widget state
///
///
[FieldOffset(10136)]
public ImVector MenusIdSubmittedThisFrame;
///
///
/// State for GetTypingSelectRequest()
///
///
/// C++:
/// imgui_internal.h:2636
///
ImGuiTypingSelectState TypingSelectState
///
///
///
///
/// Widget state
///
///
[FieldOffset(10152)]
public ImGuiTypingSelectState TypingSelectState;
///
///
/// Data updated by current frame. Will be applied at end of the frame. For some backends, this is required
/// to have WantVisible=true in order to receive text message.
///
///
/// C++:
/// imgui_internal.h:2639
///
ImGuiPlatformImeData PlatformImeData
///
///
///
///
/// Platform support
///
///
[FieldOffset(10256)]
public ImGuiPlatformImeData PlatformImeData;
///
///
/// Previous frame data. When changed we call the platform_io.Platform_SetImeDataFn() handler.
///
///
/// C++:
/// imgui_internal.h:2640
///
ImGuiPlatformImeData PlatformImeDataPrev
///
///
///
///
/// Platform support
///
///
[FieldOffset(10276)]
public ImGuiPlatformImeData PlatformImeDataPrev;
///
///
/// List of textures created/managed by user or third-party extension. Automatically appended into
/// platform_io.Textures[].
///
///
/// C++:
/// imgui_internal.h:2644
///
ImVector<ImTextureData*> UserTextures
///
///
///
///
/// Extensions
/// FIXME: We could provide an API to register one slot in an array held in ImGuiContext?
///
///
[FieldOffset(10296)]
public ImVector UserTextures;
///
///
/// C++:
/// imgui_internal.h:2645
///
ImGuiDockContext DockContext
///
///
///
///
/// Extensions
/// FIXME: We could provide an API to register one slot in an array held in ImGuiContext?
///
///
[FieldOffset(10312)]
public ImGuiDockContext DockContext;
///
///
/// C++:
/// imgui_internal.h:2646
///
/// void (*DockNodeWindowMenuHandler)(ImGuiContext* ctx, ImGuiDockNode* node, ImGuiTabBar* tab_bar)
///
///
///
///
/// Extensions
/// FIXME: We could provide an API to register one slot in an array held in ImGuiContext?
///
///
[FieldOffset(10368)]
public nint DockNodeWindowMenuHandler;
///
///
/// C++:
/// imgui_internal.h:2649
///
bool SettingsLoaded
///
///
///
///
/// Settings
///
///
[FieldOffset(10376)]
public Bool8 SettingsLoaded;
///
///
/// Save .ini Settings to memory when time reaches zero
///
///
/// C++:
/// imgui_internal.h:2650
///
float SettingsDirtyTimer
///
///
///
///
/// Settings
///
///
[FieldOffset(10380)]
public float SettingsDirtyTimer;
///
///
/// In memory .ini settings
///
///
/// C++:
/// imgui_internal.h:2651
///
ImGuiTextBuffer SettingsIniData
///
///
///
///
/// Settings
///
///
[FieldOffset(10384)]
public ImGuiTextBuffer SettingsIniData;
///
///
/// List of .ini settings handlers
///
///
/// C++:
/// imgui_internal.h:2652
///
ImVector<ImGuiSettingsHandler> SettingsHandlers
///
///
///
///
/// Settings
///
///
[FieldOffset(10400)]
public ImVector SettingsHandlers;
///
///
/// ImGuiWindow .ini settings entries
///
///
/// C++:
/// imgui_internal.h:2653
///
ImChunkStream<ImGuiWindowSettings> SettingsWindows
///
///
///
///
/// Settings
///
///
[FieldOffset(10416)]
public ImChunkStream SettingsWindows;
///
///
/// ImGuiTable .ini settings entries
///
///
/// C++:
/// imgui_internal.h:2654
///
ImChunkStream<ImGuiTableSettings> SettingsTables
///
///
///
///
/// Settings
///
///
[FieldOffset(10432)]
public ImChunkStream SettingsTables;
///
///
/// Hooks for extensions (e.g. test engine)
///
///
/// C++:
/// imgui_internal.h:2655
///
ImVector<ImGuiContextHook> Hooks
///
///
///
///
/// Settings
///
///
[FieldOffset(10448)]
public ImVector Hooks;
///
///
/// Next available HookId
///
///
/// C++:
/// imgui_internal.h:2656
///
ImGuiID HookIdNext
///
///
///
///
/// Settings
///
///
[FieldOffset(10464)]
public ImGuiID HookIdNext;
///
///
/// C++:
/// imgui_internal.h:2659
///
const char* LocalizationTable[ImGuiLocKey_COUNT]
///
///
///
///
/// Localization
///
///
[FieldOffset(10472)]
public Ptr_byte__13 LocalizationTable;
///
///
/// Currently capturing
///
///
/// C++:
/// imgui_internal.h:2662
///
bool LogEnabled
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10576)]
public Bool8 LogEnabled;
///
///
/// Capture flags/type
///
///
/// C++:
/// imgui_internal.h:2663
///
ImGuiLogFlags LogFlags
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10580)]
public ImGuiLogFlags LogFlags;
///
///
/// C++:
/// imgui_internal.h:2664
///
ImGuiWindow* LogWindow
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10584)]
public ImGuiWindowPtr LogWindow;
///
///
/// If != NULL log to stdout/ file
///
///
/// C++:
/// imgui_internal.h:2665
///
ImFileHandle LogFile
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10592)]
public ImFileHandle LogFile;
///
///
/// Accumulation buffer when log to clipboard. This is pointer so our GImGui static constructor doesn't call
/// heap allocators.
///
///
/// C++:
/// imgui_internal.h:2666
///
ImGuiTextBuffer LogBuffer
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10600)]
public ImGuiTextBuffer LogBuffer;
///
///
/// C++:
/// imgui_internal.h:2667
///
const char* LogNextPrefix
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10616)]
public Ptr LogNextPrefix;
///
///
/// C++:
/// imgui_internal.h:2668
///
const char* LogNextSuffix
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10624)]
public Ptr LogNextSuffix;
///
///
/// C++:
/// imgui_internal.h:2669
///
float LogLinePosY
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10632)]
public float LogLinePosY;
///
///
/// C++:
/// imgui_internal.h:2670
///
bool LogLineFirstItem
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10636)]
public Bool8 LogLineFirstItem;
///
///
/// C++:
/// imgui_internal.h:2671
///
int LogDepthRef
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10640)]
public int LogDepthRef;
///
///
/// C++:
/// imgui_internal.h:2672
///
int LogDepthToExpand
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10644)]
public int LogDepthToExpand;
///
///
/// Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call.
///
///
/// C++:
/// imgui_internal.h:2673
///
int LogDepthToExpandDefault
///
///
///
///
/// Capture/Logging
///
///
[FieldOffset(10648)]
public int LogDepthToExpandDefault;
///
///
/// = NULL. May be exposed in public API eventually.
///
///
/// C++:
/// imgui_internal.h:2676
///
ImGuiErrorCallback ErrorCallback
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10656)]
public nint ErrorCallback;
///
///
/// = NULL
///
///
/// C++:
/// imgui_internal.h:2677
///
void* ErrorCallbackUserData
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10664)]
public nint ErrorCallbackUserData;
///
///
/// C++:
/// imgui_internal.h:2678
///
ImVec2 ErrorTooltipLockedPos
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10672)]
public float2 ErrorTooltipLockedPos;
///
///
/// C++:
/// imgui_internal.h:2679
///
bool ErrorFirst
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10680)]
public Bool8 ErrorFirst;
///
///
/// [Internal] Number of errors submitted this frame.
///
///
/// C++:
/// imgui_internal.h:2680
///
int ErrorCountCurrentFrame
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10684)]
public int ErrorCountCurrentFrame;
///
///
/// [Internal]
///
///
/// C++:
/// imgui_internal.h:2681
///
ImGuiErrorRecoveryState StackSizesInNewFrame
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10688)]
public ImGuiErrorRecoveryState StackSizesInNewFrame;
///
///
/// [Internal]
///
///
/// C++:
/// imgui_internal.h:2682
///
ImGuiErrorRecoveryState*StackSizesInBeginForCurrentWindow
///
///
///
///
/// Error Handling
///
///
[FieldOffset(10712)]
public ImGuiErrorRecoveryStatePtr StackSizesInBeginForCurrentWindow;
///
///
/// Locked count (preserved when holding CTRL)
///
///
/// C++:
/// imgui_internal.h:2686
///
int DebugDrawIdConflictsCount
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10720)]
public int DebugDrawIdConflictsCount;
///
///
/// C++:
/// imgui_internal.h:2687
///
ImGuiDebugLogFlags DebugLogFlags
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10724)]
public ImGuiDebugLogFlags DebugLogFlags;
///
///
/// C++:
/// imgui_internal.h:2688
///
ImGuiTextBuffer DebugLogBuf
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10728)]
public ImGuiTextBuffer DebugLogBuf;
///
///
/// C++:
/// imgui_internal.h:2689
///
ImGuiTextIndex DebugLogIndex
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10744)]
public ImGuiTextIndex DebugLogIndex;
///
///
/// C++:
/// imgui_internal.h:2690
///
int DebugLogSkippedErrors
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10768)]
public int DebugLogSkippedErrors;
///
///
/// C++:
/// imgui_internal.h:2691
///
ImGuiDebugLogFlags DebugLogAutoDisableFlags
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10772)]
public ImGuiDebugLogFlags DebugLogAutoDisableFlags;
///
///
/// C++:
/// imgui_internal.h:2692
///
ImU8 DebugLogAutoDisableFrames
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10776)]
public byte DebugLogAutoDisableFrames;
///
///
/// For DebugLocateItemOnHover(). This is used together with DebugLocateId which is in a hot/cached spot
/// above.
///
///
/// C++:
/// imgui_internal.h:2693
///
ImU8 DebugLocateFrames
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10777)]
public byte DebugLocateFrames;
///
///
/// Debug break in ItemAdd() call for g.DebugLocateId.
///
///
/// C++:
/// imgui_internal.h:2694
///
bool DebugBreakInLocateId
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10778)]
public Bool8 DebugBreakInLocateId;
///
///
/// = ImGuiKey_Pause
///
///
/// C++:
/// imgui_internal.h:2695
///
ImGuiKeyChord DebugBreakKeyChord
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10780)]
public ImGuiKeyChord DebugBreakKeyChord;
///
///
/// Cycle between 0..9 then wrap around.
///
///
/// C++:
/// imgui_internal.h:2696
///
ImS8 DebugBeginReturnValueCullDepth
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10784)]
public sbyte DebugBeginReturnValueCullDepth;
///
///
/// Item picker is active (started with DebugStartItemPicker())
///
///
/// C++:
/// imgui_internal.h:2697
///
bool DebugItemPickerActive
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10785)]
public Bool8 DebugItemPickerActive;
///
///
/// C++:
/// imgui_internal.h:2698
///
ImU8 DebugItemPickerMouseButton
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10786)]
public byte DebugItemPickerMouseButton;
///
///
/// Will call IM_DEBUG_BREAK() when encountering this ID
///
///
/// C++:
/// imgui_internal.h:2699
///
ImGuiID DebugItemPickerBreakId
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10788)]
public ImGuiID DebugItemPickerBreakId;
///
///
/// C++:
/// imgui_internal.h:2700
///
float DebugFlashStyleColorTime
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10792)]
public float DebugFlashStyleColorTime;
///
///
/// C++:
/// imgui_internal.h:2701
///
ImVec4 DebugFlashStyleColorBackup
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10796)]
public float4 DebugFlashStyleColorBackup;
///
///
/// C++:
/// imgui_internal.h:2702
///
ImGuiMetricsConfig DebugMetricsConfig
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10812)]
public ImGuiMetricsConfig DebugMetricsConfig;
///
///
/// C++:
/// imgui_internal.h:2703
///
ImGuiIDStackTool DebugIDStackTool
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10848)]
public ImGuiIDStackTool DebugIDStackTool;
///
///
/// C++:
/// imgui_internal.h:2704
///
ImGuiDebugAllocInfo DebugAllocInfo
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10904)]
public ImGuiDebugAllocInfo DebugAllocInfo;
///
///
/// Hovered dock node.
///
///
/// C++:
/// imgui_internal.h:2705
///
ImGuiDockNode* DebugHoveredDockNode
///
///
///
///
/// Debug Tools
/// (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
///
///
[FieldOffset(10968)]
public ImGuiDockNodePtr DebugHoveredDockNode;
///
/// Calculate estimate of framerate for user over the last 60 frames..
///
[FieldOffset(10976)]
public fixed float FramerateSecPerFrame[60];
///
///
/// C++:
/// imgui_internal.h:2713
///
int FramerateSecPerFrameIdx
///
///
///
///
/// Misc
///
///
[FieldOffset(11216)]
public int FramerateSecPerFrameIdx;
///
///
/// C++:
/// imgui_internal.h:2714
///
int FramerateSecPerFrameCount
///
///
///
///
/// Misc
///
///
[FieldOffset(11220)]
public int FramerateSecPerFrameCount;
///
///
/// C++:
/// imgui_internal.h:2715
///
float FramerateSecPerFrameAccum
///
///
///
///
/// Misc
///
///
[FieldOffset(11224)]
public float FramerateSecPerFrameAccum;
///
///
/// Explicit capture override via SetNextFrameWantCaptureMouse()/SetNextFrameWantCaptureKeyboard(). Default
/// to -1.
///
///
/// C++:
/// imgui_internal.h:2716
///
int WantCaptureMouseNextFrame
///
///
///
///
/// Misc
///
///
[FieldOffset(11228)]
public int WantCaptureMouseNextFrame;
///
///
/// "
///
///
/// C++:
/// imgui_internal.h:2717
///
int WantCaptureKeyboardNextFrame
///
///
///
///
/// Misc
///
///
[FieldOffset(11232)]
public int WantCaptureKeyboardNextFrame;
///
///
/// Copied in EndFrame() from g.PlatformImeData.WantTextInput. Needs to be set for some backends (SDL3) to
/// emit character inputs.
///
///
/// C++:
/// imgui_internal.h:2718
///
int WantTextInputNextFrame
///
///
///
///
/// Misc
///
///
[FieldOffset(11236)]
public int WantTextInputNextFrame;
///
///
/// Temporary text buffer
///
///
/// C++:
/// imgui_internal.h:2719
///
ImVector<char> TempBuffer
///
///
///
///
/// Misc
///
///
[FieldOffset(11240)]
public ImVector TempBuffer;
[FieldOffset(11256)]
public fixed byte TempKeychordName[64];
}
///
///
/// Dear ImGui context (opaque structure, unless including imgui_internal.h)
///
///
/// C++:
/// imgui.h:195
///
struct ImGuiContext
///
///
///
///
/// Forward declarations: ImGui layer
///
///
public unsafe partial struct ImGuiContextPtr(ImGuiContext* ptr) : INullable
{
private ImGuiContext* _ptr = ptr;
public ImGuiContext* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiContextPtr(ImGuiContext* ptr) => new(ptr);
public static implicit operator ImGuiContext*(ImGuiContextPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:2334
///
bool Initialized
///
///
public ref bool Initialized => ref Unsafe.AsRef(&_ptr->Initialized);
///
///
/// C++:
/// imgui_internal.h:2335
///
ImGuiIO IO
///
///
public ref ImGuiIO IO => ref Unsafe.AsRef(&_ptr->IO);
///
///
/// C++:
/// imgui_internal.h:2336
///
ImGuiPlatformIO PlatformIO
///
///
public ref ImGuiPlatformIO PlatformIO => ref Unsafe.AsRef(&_ptr->PlatformIO);
///
///
/// C++:
/// imgui_internal.h:2337
///
ImGuiStyle Style
///
///
public ref ImGuiStyle Style => ref Unsafe.AsRef(&_ptr->Style);
///
///
/// = g.IO.ConfigFlags at the time of NewFrame()
///
///
/// C++:
/// imgui_internal.h:2338
///
ImGuiConfigFlags ConfigFlagsCurrFrame
///
///
public ref ImGuiConfigFlags ConfigFlagsCurrFrame =>
ref Unsafe.AsRef(&_ptr->ConfigFlagsCurrFrame);
///
///
/// C++:
/// imgui_internal.h:2339
///
ImGuiConfigFlags ConfigFlagsLastFrame
///
///
public ref ImGuiConfigFlags ConfigFlagsLastFrame =>
ref Unsafe.AsRef(&_ptr->ConfigFlagsLastFrame);
///
///
/// List of font atlases used by the context (generally only contains g.IO.Fonts aka the main font atlas)
///
///
/// C++:
/// imgui_internal.h:2340
///
ImVector<ImFontAtlas*> FontAtlases
///
///
public ref ImVector FontAtlases =>
ref Unsafe.AsRef>(&_ptr->FontAtlases);
///
///
/// Currently bound font. (== FontStack.back().Font)
///
///
/// C++:
/// imgui_internal.h:2341
///
ImFont* Font
///
///
public ref ImFontPtr Font => ref Unsafe.AsRef(&_ptr->Font);
///
///
/// Currently bound font at currently bound size. (== Font->GetFontBaked(FontSize))
///
///
/// C++:
/// imgui_internal.h:2342
///
ImFontBaked* FontBaked
///
///
public ref ImFontBakedPtr FontBaked => ref Unsafe.AsRef(&_ptr->FontBaked);
///
///
/// Currently bound font size == line height (== FontSizeBase + externals scales applied in the
/// UpdateCurrentFontSize() function).
///
///
/// C++:
/// imgui_internal.h:2343
///
float FontSize
///
///
public ref float FontSize => ref Unsafe.AsRef(&_ptr->FontSize);
///
///
/// Font size before scaling == style.FontSizeBase == value passed to PushFont() when specified.
///
///
/// C++:
/// imgui_internal.h:2344
///
float FontSizeBase
///
///
public ref float FontSizeBase => ref Unsafe.AsRef(&_ptr->FontSizeBase);
///
///
/// == FontBaked->Size / FontSize. Scale factor over baked size. Rarely used nowadays, very often ==
/// 1.0f.
///
///
/// C++:
/// imgui_internal.h:2345
///
float FontBakedScale
///
///
public ref float FontBakedScale => ref Unsafe.AsRef(&_ptr->FontBakedScale);
///
///
/// Current font density. Used by all calls to GetFontBaked().
///
///
/// C++:
/// imgui_internal.h:2346
///
float FontRasterizerDensity
///
///
public ref float FontRasterizerDensity => ref Unsafe.AsRef(&_ptr->FontRasterizerDensity);
///
///
/// Current window/viewport DpiScale == CurrentViewport->DpiScale
///
///
/// C++:
/// imgui_internal.h:2347
///
float CurrentDpiScale
///
///
public ref float CurrentDpiScale => ref Unsafe.AsRef(&_ptr->CurrentDpiScale);
///
///
/// C++:
/// imgui_internal.h:2348
///
ImDrawListSharedData DrawListSharedData
///
///
public ref ImDrawListSharedData DrawListSharedData =>
ref Unsafe.AsRef(&_ptr->DrawListSharedData);
///
///
/// C++:
/// imgui_internal.h:2349
///
double Time
///
///
public ref double Time => ref Unsafe.AsRef(&_ptr->Time);
///
///
/// C++:
/// imgui_internal.h:2350
///
int FrameCount
///
///
public ref int FrameCount => ref Unsafe.AsRef(&_ptr->FrameCount);
///
///
/// C++:
/// imgui_internal.h:2351
///
int FrameCountEnded
///
///
public ref int FrameCountEnded => ref Unsafe.AsRef(&_ptr->FrameCountEnded);
///
///
/// C++:
/// imgui_internal.h:2352
///
int FrameCountPlatformEnded
///
///
public ref int FrameCountPlatformEnded => ref Unsafe.AsRef(&_ptr->FrameCountPlatformEnded);
///
///
/// C++:
/// imgui_internal.h:2353
///
int FrameCountRendered
///
///
public ref int FrameCountRendered => ref Unsafe.AsRef(&_ptr->FrameCountRendered);
///
///
/// Set within EndChild()
///
///
/// C++:
/// imgui_internal.h:2354
///
ImGuiID WithinEndChildID
///
///
public ref ImGuiID WithinEndChildID => ref Unsafe.AsRef(&_ptr->WithinEndChildID);
///
///
/// Set by NewFrame(), cleared by EndFrame()
///
///
/// C++:
/// imgui_internal.h:2355
///
bool WithinFrameScope
///
///
public ref bool WithinFrameScope => ref Unsafe.AsRef(&_ptr->WithinFrameScope);
///
///
/// Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed
///
///
/// C++:
/// imgui_internal.h:2356
///
bool WithinFrameScopeWithImplicitWindow
///
///
public ref bool WithinFrameScopeWithImplicitWindow =>
ref Unsafe.AsRef(&_ptr->WithinFrameScopeWithImplicitWindow);
///
///
/// Request full GC
///
///
/// C++:
/// imgui_internal.h:2357
///
bool GcCompactAll
///
///
public ref bool GcCompactAll => ref Unsafe.AsRef(&_ptr->GcCompactAll);
///
///
/// Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(),
/// ImGuiTestEngineHook_Log()
///
///
/// C++:
/// imgui_internal.h:2358
///
bool TestEngineHookItems
///
///
public ref bool TestEngineHookItems => ref Unsafe.AsRef(&_ptr->TestEngineHookItems);
///
///
/// Test engine user data
///
///
/// C++:
/// imgui_internal.h:2359
///
void* TestEngine
///
///
public ref nint TestEngine => ref Unsafe.AsRef(&_ptr->TestEngine);
///
/// Storage for a context name (to facilitate debugging multi-context setups)
///
public Span ContextName => MemoryMarshal.CreateSpan(ref _ptr->ContextName[0], 16);
///
///
/// Input events which will be trickled/written into IO structure.
///
///
/// C++:
/// imgui_internal.h:2363
///
ImVector<ImGuiInputEvent> InputEventsQueue
///
///
///
///
/// Inputs
///
///
public ref ImVector InputEventsQueue =>
ref Unsafe.AsRef>(&_ptr->InputEventsQueue);
///
///
/// Past input events processed in NewFrame(). This is to allow domain-specific application to access e.g
/// mouse/pen trail.
///
///
/// C++:
/// imgui_internal.h:2364
///
ImVector<ImGuiInputEvent> InputEventsTrail
///
///
///
///
/// Inputs
///
///
public ref ImVector InputEventsTrail =>
ref Unsafe.AsRef>(&_ptr->InputEventsTrail);
///
///
/// C++:
/// imgui_internal.h:2365
///
ImGuiMouseSource InputEventsNextMouseSource
///
///
///
///
/// Inputs
///
///
public ref ImGuiMouseSource InputEventsNextMouseSource =>
ref Unsafe.AsRef(&_ptr->InputEventsNextMouseSource);
///
///
/// C++:
/// imgui_internal.h:2366
///
ImU32 InputEventsNextEventId
///
///
///
///
/// Inputs
///
///
public ref uint InputEventsNextEventId => ref Unsafe.AsRef(&_ptr->InputEventsNextEventId);
///
///
/// Windows, sorted in display order, back to front
///
///
/// C++:
/// imgui_internal.h:2369
///
ImVector<ImGuiWindow*> Windows
///
///
///
///
/// Windows state
///
///
public ref ImVector Windows => ref Unsafe.AsRef>(&_ptr->Windows);
///
///
/// Root windows, sorted in focus order, back to front.
///
///
/// C++:
/// imgui_internal.h:2370
///
ImVector<ImGuiWindow*> WindowsFocusOrder
///
///
///
///
/// Windows state
///
///
public ref ImVector WindowsFocusOrder =>
ref Unsafe.AsRef>(&_ptr->WindowsFocusOrder);
///
///
/// Temporary buffer used in EndFrame() to reorder windows so parents are kept before their child
///
///
/// C++:
/// imgui_internal.h:2371
///
ImVector<ImGuiWindow*> WindowsTempSortBuffer
///
///
///
///
/// Windows state
///
///
public ref ImVector WindowsTempSortBuffer =>
ref Unsafe.AsRef>(&_ptr->WindowsTempSortBuffer);
///
///
/// C++:
/// imgui_internal.h:2372
///
ImVector<ImGuiWindowStackData> CurrentWindowStack
///
///
///
///
/// Windows state
///
///
public ref ImVector CurrentWindowStack =>
ref Unsafe.AsRef>(&_ptr->CurrentWindowStack);
///
///
/// Map window's ImGuiID to ImGuiWindow*
///
///
/// C++:
/// imgui_internal.h:2373
///
ImGuiStorage WindowsById
///
///
///
///
/// Windows state
///
///
public ref ImGuiStorage WindowsById => ref Unsafe.AsRef(&_ptr->WindowsById);
///
///
/// Number of unique windows submitted by frame
///
///
/// C++:
/// imgui_internal.h:2374
///
int WindowsActiveCount
///
///
///
///
/// Windows state
///
///
public ref int WindowsActiveCount => ref Unsafe.AsRef(&_ptr->WindowsActiveCount);
///
///
/// Padding around resizable windows for which hovering on counts as hovering the window ==
/// ImMax(style.TouchExtraPadding, style.WindowBorderHoverPadding). This isn't so multi-dpi friendly.
///
///
/// C++:
/// imgui_internal.h:2375
///
float WindowsBorderHoverPadding
///
///
///
///
/// Windows state
///
///
public ref float WindowsBorderHoverPadding => ref Unsafe.AsRef(&_ptr->WindowsBorderHoverPadding);
///
///
/// Set to break in Begin() call.
///
///
/// C++:
/// imgui_internal.h:2376
///
ImGuiID DebugBreakInWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiID DebugBreakInWindow => ref Unsafe.AsRef(&_ptr->DebugBreakInWindow);
///
///
/// Window being drawn into
///
///
/// C++:
/// imgui_internal.h:2377
///
ImGuiWindow* CurrentWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr CurrentWindow => ref Unsafe.AsRef(&_ptr->CurrentWindow);
///
///
/// Window the mouse is hovering. Will typically catch mouse inputs.
///
///
/// C++:
/// imgui_internal.h:2378
///
ImGuiWindow* HoveredWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr HoveredWindow => ref Unsafe.AsRef(&_ptr->HoveredWindow);
///
///
/// Hovered window ignoring MovingWindow. Only set if MovingWindow is set.
///
///
/// C++:
/// imgui_internal.h:2379
///
ImGuiWindow* HoveredWindowUnderMovingWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr HoveredWindowUnderMovingWindow =>
ref Unsafe.AsRef(&_ptr->HoveredWindowUnderMovingWindow);
///
///
/// Window the mouse is hovering. Filled even with _NoMouse. This is currently useful for multi-context
/// compositors.
///
///
/// C++:
/// imgui_internal.h:2380
///
ImGuiWindow* HoveredWindowBeforeClear
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr HoveredWindowBeforeClear =>
ref Unsafe.AsRef(&_ptr->HoveredWindowBeforeClear);
///
///
/// Track the window we clicked on (in order to preserve focus). The actual window that is moved is
/// generally MovingWindow->RootWindowDockTree.
///
///
/// C++:
/// imgui_internal.h:2381
///
ImGuiWindow* MovingWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr MovingWindow => ref Unsafe.AsRef(&_ptr->MovingWindow);
///
///
/// Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep
/// scrolling the same window even if during the course of scrolling the mouse ends up hovering a child
/// window.
///
///
/// C++:
/// imgui_internal.h:2382
///
ImGuiWindow* WheelingWindow
///
///
///
///
/// Windows state
///
///
public ref ImGuiWindowPtr WheelingWindow => ref Unsafe.AsRef(&_ptr->WheelingWindow);
///
///
/// C++:
/// imgui_internal.h:2383
///
ImVec2 WheelingWindowRefMousePos
///
///
///
///
/// Windows state
///
///
public ref float2 WheelingWindowRefMousePos => ref Unsafe.AsRef(&_ptr->WheelingWindowRefMousePos);
///
///
/// This may be set one frame before WheelingWindow is != NULL
///
///
/// C++:
/// imgui_internal.h:2384
///
int WheelingWindowStartFrame
///
///
///
///
/// Windows state
///
///
public ref int WheelingWindowStartFrame => ref Unsafe.AsRef(&_ptr->WheelingWindowStartFrame);
///
///
/// C++:
/// imgui_internal.h:2385
///
int WheelingWindowScrolledFrame
///
///
///
///
/// Windows state
///
///
public ref int WheelingWindowScrolledFrame => ref Unsafe.AsRef(&_ptr->WheelingWindowScrolledFrame);
///
///
/// C++:
/// imgui_internal.h:2386
///
float WheelingWindowReleaseTimer
///
///
///
///
/// Windows state
///
///
public ref float WheelingWindowReleaseTimer => ref Unsafe.AsRef(&_ptr->WheelingWindowReleaseTimer);
///
///
/// C++:
/// imgui_internal.h:2387
///
ImVec2 WheelingWindowWheelRemainder
///
///
///
///
/// Windows state
///
///
public ref float2 WheelingWindowWheelRemainder => ref Unsafe.AsRef(&_ptr->WheelingWindowWheelRemainder);
///
///
/// C++:
/// imgui_internal.h:2388
///
ImVec2 WheelingAxisAvg
///
///
///
///
/// Windows state
///
///
public ref float2 WheelingAxisAvg => ref Unsafe.AsRef(&_ptr->WheelingAxisAvg);
///
///
/// Set when we detect multiple items with the same identifier
///
///
/// C++:
/// imgui_internal.h:2391
///
ImGuiID DebugDrawIdConflictsId
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID DebugDrawIdConflictsId => ref Unsafe.AsRef(&_ptr->DebugDrawIdConflictsId);
///
///
/// Will call core hooks: DebugHookIdInfo() from GetID functions, used by ID Stack Tool [next
/// HoveredId/ActiveId to not pull in an extra cache-line]
///
///
/// C++:
/// imgui_internal.h:2392
///
ImGuiID DebugHookIdInfo
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID DebugHookIdInfo => ref Unsafe.AsRef(&_ptr->DebugHookIdInfo);
///
///
/// Hovered widget, filled during the frame
///
///
/// C++:
/// imgui_internal.h:2393
///
ImGuiID HoveredId
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID HoveredId => ref Unsafe.AsRef(&_ptr->HoveredId);
///
///
/// C++:
/// imgui_internal.h:2394
///
ImGuiID HoveredIdPreviousFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID HoveredIdPreviousFrame => ref Unsafe.AsRef(&_ptr->HoveredIdPreviousFrame);
///
///
/// Count numbers of items using the same ID as last frame's hovered id
///
///
/// C++:
/// imgui_internal.h:2395
///
int HoveredIdPreviousFrameItemCount
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref int HoveredIdPreviousFrameItemCount => ref Unsafe.AsRef(&_ptr->HoveredIdPreviousFrameItemCount);
///
///
/// Measure contiguous hovering time
///
///
/// C++:
/// imgui_internal.h:2396
///
float HoveredIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref float HoveredIdTimer => ref Unsafe.AsRef(&_ptr->HoveredIdTimer);
///
///
/// Measure contiguous hovering time where the item has not been active
///
///
/// C++:
/// imgui_internal.h:2397
///
float HoveredIdNotActiveTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref float HoveredIdNotActiveTimer => ref Unsafe.AsRef(&_ptr->HoveredIdNotActiveTimer);
///
///
/// C++:
/// imgui_internal.h:2398
///
bool HoveredIdAllowOverlap
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool HoveredIdAllowOverlap => ref Unsafe.AsRef(&_ptr->HoveredIdAllowOverlap);
///
///
/// At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May
/// be true even if HoveredId == 0.
///
///
/// C++:
/// imgui_internal.h:2399
///
bool HoveredIdIsDisabled
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool HoveredIdIsDisabled => ref Unsafe.AsRef(&_ptr->HoveredIdIsDisabled);
///
///
/// Disable ItemAdd() clipping, essentially a memory-locality friendly copy of LogEnabled
///
///
/// C++:
/// imgui_internal.h:2400
///
bool ItemUnclipByLog
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ItemUnclipByLog => ref Unsafe.AsRef(&_ptr->ItemUnclipByLog);
///
///
/// Active widget
///
///
/// C++:
/// imgui_internal.h:2401
///
ImGuiID ActiveId
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID ActiveId => ref Unsafe.AsRef(&_ptr->ActiveId);
///
///
/// Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame)
///
///
/// C++:
/// imgui_internal.h:2402
///
ImGuiID ActiveIdIsAlive
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID ActiveIdIsAlive => ref Unsafe.AsRef(&_ptr->ActiveIdIsAlive);
///
///
/// C++:
/// imgui_internal.h:2403
///
float ActiveIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref float ActiveIdTimer => ref Unsafe.AsRef(&_ptr->ActiveIdTimer);
///
///
/// Set at the time of activation for one frame
///
///
/// C++:
/// imgui_internal.h:2404
///
bool ActiveIdIsJustActivated
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdIsJustActivated => ref Unsafe.AsRef(&_ptr->ActiveIdIsJustActivated);
///
///
/// Active widget allows another widget to steal active id (generally for overlapping widgets, but not
/// always)
///
///
/// C++:
/// imgui_internal.h:2405
///
bool ActiveIdAllowOverlap
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdAllowOverlap => ref Unsafe.AsRef(&_ptr->ActiveIdAllowOverlap);
///
///
/// Disable losing active id if the active id window gets unfocused.
///
///
/// C++:
/// imgui_internal.h:2406
///
bool ActiveIdNoClearOnFocusLoss
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdNoClearOnFocusLoss => ref Unsafe.AsRef(&_ptr->ActiveIdNoClearOnFocusLoss);
///
///
/// Track whether the active id led to a press (this is to allow changing between PressOnClick and
/// PressOnRelease without pressing twice). Used by range_select branch.
///
///
/// C++:
/// imgui_internal.h:2407
///
bool ActiveIdHasBeenPressedBefore
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdHasBeenPressedBefore => ref Unsafe.AsRef(&_ptr->ActiveIdHasBeenPressedBefore);
///
///
/// Was the value associated to the widget Edited over the course of the Active state.
///
///
/// C++:
/// imgui_internal.h:2408
///
bool ActiveIdHasBeenEditedBefore
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdHasBeenEditedBefore => ref Unsafe.AsRef(&_ptr->ActiveIdHasBeenEditedBefore);
///
///
/// C++:
/// imgui_internal.h:2409
///
bool ActiveIdHasBeenEditedThisFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdHasBeenEditedThisFrame => ref Unsafe.AsRef(&_ptr->ActiveIdHasBeenEditedThisFrame);
///
///
/// C++:
/// imgui_internal.h:2410
///
bool ActiveIdFromShortcut
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref bool ActiveIdFromShortcut => ref Unsafe.AsRef(&_ptr->ActiveIdFromShortcut);
///
///
/// C++:
/// imgui_internal.h:2411
///
int ActiveIdMouseButton : 8
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref int ActiveIdMouseButton => ref Unsafe.AsRef(&_ptr->ActiveIdMouseButton);
///
///
/// Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior)
///
///
/// C++:
/// imgui_internal.h:2412
///
ImVec2 ActiveIdClickOffset
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref float2 ActiveIdClickOffset => ref Unsafe.AsRef(&_ptr->ActiveIdClickOffset);
///
///
/// C++:
/// imgui_internal.h:2413
///
ImGuiWindow* ActiveIdWindow
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiWindowPtr ActiveIdWindow => ref Unsafe.AsRef(&_ptr->ActiveIdWindow);
///
///
/// Activating source: ImGuiInputSource_Mouse OR ImGuiInputSource_Keyboard OR ImGuiInputSource_Gamepad
///
///
/// C++:
/// imgui_internal.h:2414
///
ImGuiInputSource ActiveIdSource
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiInputSource ActiveIdSource => ref Unsafe.AsRef(&_ptr->ActiveIdSource);
///
///
/// C++:
/// imgui_internal.h:2415
///
ImGuiID ActiveIdPreviousFrame
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID ActiveIdPreviousFrame => ref Unsafe.AsRef(&_ptr->ActiveIdPreviousFrame);
///
///
/// C++:
/// imgui_internal.h:2416
///
ImGuiDeactivatedItemData DeactivatedItemData
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiDeactivatedItemData DeactivatedItemData =>
ref Unsafe.AsRef(&_ptr->DeactivatedItemData);
///
///
/// Backup of initial value at the time of activation. ONLY SET BY SPECIFIC WIDGETS: DragXXX and SliderXXX.
///
///
/// C++:
/// imgui_internal.h:2417
///
ImGuiDataTypeStorage ActiveIdValueOnActivation
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiDataTypeStorage ActiveIdValueOnActivation =>
ref Unsafe.AsRef(&_ptr->ActiveIdValueOnActivation);
///
///
/// Store the last non-zero ActiveId, useful for animation.
///
///
/// C++:
/// imgui_internal.h:2418
///
ImGuiID LastActiveId
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref ImGuiID LastActiveId => ref Unsafe.AsRef(&_ptr->LastActiveId);
///
///
/// Store the last non-zero ActiveId timer since the beginning of activation, useful for animation.
///
///
/// C++:
/// imgui_internal.h:2419
///
float LastActiveIdTimer
///
///
///
///
/// Item/widgets state and tracking information
///
///
public ref float LastActiveIdTimer => ref Unsafe.AsRef(&_ptr->LastActiveIdTimer);
///
///
/// Record the last time key mods changed (affect repeat delay when using shortcut logic)
///
///
/// C++:
/// imgui_internal.h:2425
///
double LastKeyModsChangeTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref double LastKeyModsChangeTime => ref Unsafe.AsRef(&_ptr->LastKeyModsChangeTime);
///
///
/// Record the last time key mods changed away from being 0 (affect repeat delay when using shortcut logic)
///
///
/// C++:
/// imgui_internal.h:2426
///
double LastKeyModsChangeFromNoneTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref double LastKeyModsChangeFromNoneTime =>
ref Unsafe.AsRef(&_ptr->LastKeyModsChangeFromNoneTime);
///
///
/// Record the last time a keyboard key (ignore mouse/gamepad ones) was pressed.
///
///
/// C++:
/// imgui_internal.h:2427
///
double LastKeyboardKeyPressTime
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref double LastKeyboardKeyPressTime => ref Unsafe.AsRef(&_ptr->LastKeyboardKeyPressTime);
///
///
/// Lookup to tell if a key can emit char input, see IsKeyChordPotentiallyCharInput(). sizeof() = 20 bytes
///
///
/// C++:
/// imgui_internal.h:2428
///
ImBitArrayForNamedKeys KeysMayBeCharInput
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref ImBitArrayForNamedKeys KeysMayBeCharInput =>
ref Unsafe.AsRef(&_ptr->KeysMayBeCharInput);
///
///
/// C++:
/// imgui_internal.h:2429
///
ImGuiKeyOwnerData KeysOwnerData[ImGuiKey_NamedKey_COUNT]
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref ImGuiKeyOwnerData_155 KeysOwnerData => ref Unsafe.AsRef(&_ptr->KeysOwnerData);
///
///
/// C++:
/// imgui_internal.h:2430
///
ImGuiKeyRoutingTable KeysRoutingTable
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref ImGuiKeyRoutingTable KeysRoutingTable =>
ref Unsafe.AsRef(&_ptr->KeysRoutingTable);
///
///
/// Active widget will want to read those nav move requests (e.g. can activate a button and move away from
/// it)
///
///
/// C++:
/// imgui_internal.h:2431
///
ImU32 ActiveIdUsingNavDirMask
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref uint ActiveIdUsingNavDirMask => ref Unsafe.AsRef(&_ptr->ActiveIdUsingNavDirMask);
///
///
/// Active widget will want to read all keyboard keys inputs. (this is a shortcut for not taking ownership
/// of 100+ keys, frequently used by drag operations)
///
///
/// C++:
/// imgui_internal.h:2432
///
bool ActiveIdUsingAllKeyboardKeys
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref bool ActiveIdUsingAllKeyboardKeys => ref Unsafe.AsRef(&_ptr->ActiveIdUsingAllKeyboardKeys);
///
///
/// Set to break in SetShortcutRouting()/Shortcut() calls.
///
///
/// C++:
/// imgui_internal.h:2433
///
ImGuiKeyChord DebugBreakInShortcutRouting
///
///
///
///
/// Key/Input Ownership + Shortcut Routing system
/// - The idea is that instead of "eating" a given key, we can link to an owner.
/// - Input query can then read input by specifying ImGuiKeyOwner_Any (== 0), ImGuiKeyOwner_NoOwner (== -1) or a custom ID.
/// - Routing is requested ahead of time for a given chord (Key + Mods) and granted in NewFrame().
///
///
public ref ImGuiKeyChord DebugBreakInShortcutRouting =>
ref Unsafe.AsRef(&_ptr->DebugBreakInShortcutRouting);
///
///
/// Value for currently appending items == g.FocusScopeStack.back(). Not to be mistaken with
/// g.NavFocusScopeId.
///
///
/// C++:
/// imgui_internal.h:2437
///
ImGuiID CurrentFocusScopeId
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiID CurrentFocusScopeId => ref Unsafe.AsRef(&_ptr->CurrentFocusScopeId);
///
///
/// Value for currently appending items == g.ItemFlagsStack.back()
///
///
/// C++:
/// imgui_internal.h:2438
///
ImGuiItemFlags CurrentItemFlags
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiItemFlags CurrentItemFlags => ref Unsafe.AsRef(&_ptr->CurrentItemFlags);
///
///
/// Storage for DebugLocateItemOnHover() feature: this is read by ItemAdd() so we keep it in a hot/cached
/// location
///
///
/// C++:
/// imgui_internal.h:2439
///
ImGuiID DebugLocateId
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiID DebugLocateId => ref Unsafe.AsRef(&_ptr->DebugLocateId);
///
///
/// Storage for SetNextItem** functions
///
///
/// C++:
/// imgui_internal.h:2440
///
ImGuiNextItemData NextItemData
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiNextItemData NextItemData => ref Unsafe.AsRef(&_ptr->NextItemData);
///
///
/// Storage for last submitted item (setup by ItemAdd)
///
///
/// C++:
/// imgui_internal.h:2441
///
ImGuiLastItemData LastItemData
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiLastItemData LastItemData => ref Unsafe.AsRef(&_ptr->LastItemData);
///
///
/// Storage for SetNextWindow** functions
///
///
/// C++:
/// imgui_internal.h:2442
///
ImGuiNextWindowData NextWindowData
///
///
///
///
/// Next window/item data
///
///
public ref ImGuiNextWindowData NextWindowData => ref Unsafe.AsRef(&_ptr->NextWindowData);
///
///
/// C++:
/// imgui_internal.h:2443
///
bool DebugShowGroupRects
///
///
///
///
/// Next window/item data
///
///
public ref bool DebugShowGroupRects => ref Unsafe.AsRef(&_ptr->DebugShowGroupRects);
///
///
/// (Keep close to ColorStack to share cache line)
///
///
/// C++:
/// imgui_internal.h:2446
///
ImGuiCol DebugFlashStyleColorIdx
///
///
///
///
/// Shared stacks
///
///
public ref ImGuiCol DebugFlashStyleColorIdx => ref Unsafe.AsRef(&_ptr->DebugFlashStyleColorIdx);
///
///
/// Stack for PushStyleColor()/PopStyleColor() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2447
///
ImVector<ImGuiColorMod> ColorStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector ColorStack => ref Unsafe.AsRef>(&_ptr->ColorStack);
///
///
/// Stack for PushStyleVar()/PopStyleVar() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2448
///
ImVector<ImGuiStyleMod> StyleVarStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector StyleVarStack =>
ref Unsafe.AsRef>(&_ptr->StyleVarStack);
///
///
/// Stack for PushFont()/PopFont() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2449
///
ImVector<ImFontStackData> FontStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector FontStack => ref Unsafe.AsRef>(&_ptr->FontStack);
///
///
/// Stack for PushFocusScope()/PopFocusScope() - inherited by BeginChild(), pushed into by Begin()
///
///
/// C++:
/// imgui_internal.h:2450
///
ImVector<ImGuiFocusScopeData> FocusScopeStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector FocusScopeStack =>
ref Unsafe.AsRef>(&_ptr->FocusScopeStack);
///
///
/// Stack for PushItemFlag()/PopItemFlag() - inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2451
///
ImVector<ImGuiItemFlags> ItemFlagsStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector ItemFlagsStack => ref Unsafe.AsRef>(&_ptr->ItemFlagsStack);
///
///
/// Stack for BeginGroup()/EndGroup() - not inherited by Begin()
///
///
/// C++:
/// imgui_internal.h:2452
///
ImVector<ImGuiGroupData> GroupStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector GroupStack => ref Unsafe.AsRef>(&_ptr->GroupStack);
///
///
/// Which popups are open (persistent)
///
///
/// C++:
/// imgui_internal.h:2453
///
ImVector<ImGuiPopupData> OpenPopupStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector OpenPopupStack =>
ref Unsafe.AsRef>(&_ptr->OpenPopupStack);
///
///
/// Which level of BeginPopup() we are in (reset every frame)
///
///
/// C++:
/// imgui_internal.h:2454
///
ImVector<ImGuiPopupData> BeginPopupStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector BeginPopupStack =>
ref Unsafe.AsRef>(&_ptr->BeginPopupStack);
///
///
/// Stack for TreeNode()
///
///
/// C++:
/// imgui_internal.h:2455
///
ImVector<ImGuiTreeNodeStackData>TreeNodeStack
///
///
///
///
/// Shared stacks
///
///
public ref ImVector TreeNodeStack =>
ref Unsafe.AsRef>(&_ptr->TreeNodeStack);
///
///
/// Active viewports (always 1+, and generally 1 unless multi-viewports are enabled). Each viewports hold
/// their copy of ImDrawData.
///
///
/// C++:
/// imgui_internal.h:2458
///
ImVector<ImGuiViewportP*> Viewports
///
///
///
///
/// Viewports
///
///
public ref ImVector Viewports =>
ref Unsafe.AsRef>(&_ptr->Viewports);
///
///
/// We track changes of viewport (happening in Begin) so we can call Platform_OnChangedViewport()
///
///
/// C++:
/// imgui_internal.h:2459
///
ImGuiViewportP* CurrentViewport
///
///
///
///
/// Viewports
///
///
public ref ImGuiViewportPPtr CurrentViewport => ref Unsafe.AsRef(&_ptr->CurrentViewport);
///
///
/// C++:
/// imgui_internal.h:2460
///
ImGuiViewportP* MouseViewport
///
///
///
///
/// Viewports
///
///
public ref ImGuiViewportPPtr MouseViewport => ref Unsafe.AsRef(&_ptr->MouseViewport);
///
///
/// Last known viewport that was hovered by mouse (even if we are not hovering any viewport any more) +
/// honoring the _NoInputs flag.
///
///
/// C++:
/// imgui_internal.h:2461
///
ImGuiViewportP* MouseLastHoveredViewport
///
///
///
///
/// Viewports
///
///
public ref ImGuiViewportPPtr MouseLastHoveredViewport =>
ref Unsafe.AsRef(&_ptr->MouseLastHoveredViewport);
///
///
/// C++:
/// imgui_internal.h:2462
///
ImGuiID PlatformLastFocusedViewportId
///
///
///
///
/// Viewports
///
///
public ref ImGuiID PlatformLastFocusedViewportId =>
ref Unsafe.AsRef(&_ptr->PlatformLastFocusedViewportId);
///
///
/// Virtual monitor used as fallback if backend doesn't provide monitor information.
///
///
/// C++:
/// imgui_internal.h:2463
///
ImGuiPlatformMonitor FallbackMonitor
///
///
///
///
/// Viewports
///
///
public ref ImGuiPlatformMonitor FallbackMonitor =>
ref Unsafe.AsRef(&_ptr->FallbackMonitor);
///
///
/// Bounding box of all platform monitors
///
///
/// C++:
/// imgui_internal.h:2464
///
ImRect PlatformMonitorsFullWorkRect
///
///
///
///
/// Viewports
///
///
public ref floatRect PlatformMonitorsFullWorkRect =>
ref Unsafe.AsRef(&_ptr->PlatformMonitorsFullWorkRect);
///
///
/// Unique sequential creation counter (mostly for testing/debugging)
///
///
/// C++:
/// imgui_internal.h:2465
///
int ViewportCreatedCount
///
///
///
///
/// Viewports
///
///
public ref int ViewportCreatedCount => ref Unsafe.AsRef(&_ptr->ViewportCreatedCount);
///
///
/// Unique sequential creation counter (mostly for testing/debugging)
///
///
/// C++:
/// imgui_internal.h:2466
///
int PlatformWindowsCreatedCount
///
///
///
///
/// Viewports
///
///
public ref int PlatformWindowsCreatedCount => ref Unsafe.AsRef(&_ptr->PlatformWindowsCreatedCount);
///
///
/// Every time the front-most window changes, we stamp its viewport with an incrementing counter
///
///
/// C++:
/// imgui_internal.h:2467
///
int ViewportFocusedStampCount
///
///
///
///
/// Viewports
///
///
public ref int ViewportFocusedStampCount => ref Unsafe.AsRef(&_ptr->ViewportFocusedStampCount);
///
///
/// Nav focus cursor/rectangle is visible? We hide it after a mouse click. We show it after a nav move.
///
///
/// C++:
/// imgui_internal.h:2470
///
bool NavCursorVisible
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref bool NavCursorVisible => ref Unsafe.AsRef(&_ptr->NavCursorVisible);
///
///
/// Disable mouse hovering highlight. Highlight navigation focused item instead of mouse hovered item.
///
///
/// C++:
/// imgui_internal.h:2471
///
bool NavHighlightItemUnderNav
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref bool NavHighlightItemUnderNav => ref Unsafe.AsRef(&_ptr->NavHighlightItemUnderNav);
///
///
/// When set we will update mouse position if io.ConfigNavMoveSetMousePos is set (not enabled by default)
///
///
/// C++:
/// imgui_internal.h:2474
///
bool NavMousePosDirty
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref bool NavMousePosDirty => ref Unsafe.AsRef(&_ptr->NavMousePosDirty);
///
///
/// Nav widget has been seen this frame ~~ NavRectRel is valid
///
///
/// C++:
/// imgui_internal.h:2475
///
bool NavIdIsAlive
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref bool NavIdIsAlive => ref Unsafe.AsRef(&_ptr->NavIdIsAlive);
///
///
/// Focused item for navigation
///
///
/// C++:
/// imgui_internal.h:2476
///
ImGuiID NavId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavId => ref Unsafe.AsRef(&_ptr->NavId);
///
///
/// Focused window for navigation. Could be called 'FocusedWindow'
///
///
/// C++:
/// imgui_internal.h:2477
///
ImGuiWindow* NavWindow
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiWindowPtr NavWindow => ref Unsafe.AsRef(&_ptr->NavWindow);
///
///
/// Focused focus scope (e.g. selection code often wants to "clear other items" when landing on an item of
/// the same scope)
///
///
/// C++:
/// imgui_internal.h:2478
///
ImGuiID NavFocusScopeId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavFocusScopeId => ref Unsafe.AsRef(&_ptr->NavFocusScopeId);
///
///
/// Focused layer (main scrolling layer, or menu/title bar layer)
///
///
/// C++:
/// imgui_internal.h:2479
///
ImGuiNavLayer NavLayer
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiNavLayer NavLayer => ref Unsafe.AsRef(&_ptr->NavLayer);
///
///
/// ~~ (g.ActiveId == 0) && (IsKeyPressed(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) ||
/// IsKeyPressed(ImGuiKey_NavGamepadActivate)) ? NavId : 0, also set when calling ActivateItemByID()
///
///
/// C++:
/// imgui_internal.h:2480
///
ImGuiID NavActivateId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavActivateId => ref Unsafe.AsRef(&_ptr->NavActivateId);
///
///
/// ~~ IsKeyDown(ImGuiKey_Space) || IsKeyDown(ImGuiKey_Enter) || IsKeyDown(ImGuiKey_NavGamepadActivate) ?
/// NavId : 0
///
///
/// C++:
/// imgui_internal.h:2481
///
ImGuiID NavActivateDownId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavActivateDownId => ref Unsafe.AsRef(&_ptr->NavActivateDownId);
///
///
/// ~~ IsKeyPressed(ImGuiKey_Space) || IsKeyPressed(ImGuiKey_Enter) ||
/// IsKeyPressed(ImGuiKey_NavGamepadActivate) ? NavId : 0 (no repeat)
///
///
/// C++:
/// imgui_internal.h:2482
///
ImGuiID NavActivatePressedId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavActivatePressedId => ref Unsafe.AsRef(&_ptr->NavActivatePressedId);
///
///
/// C++:
/// imgui_internal.h:2483
///
ImGuiActivateFlags NavActivateFlags
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiActivateFlags NavActivateFlags => ref Unsafe.AsRef(&_ptr->NavActivateFlags);
///
///
/// Reversed copy focus scope stack for NavId (should contains NavFocusScopeId). This essentially follow the
/// window->ParentWindowForFocusRoute chain.
///
///
/// C++:
/// imgui_internal.h:2484
///
ImVector<ImGuiFocusScopeData> NavFocusRoute
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImVector NavFocusRoute =>
ref Unsafe.AsRef>(&_ptr->NavFocusRoute);
///
///
/// C++:
/// imgui_internal.h:2485
///
ImGuiID NavHighlightActivatedId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavHighlightActivatedId => ref Unsafe.AsRef(&_ptr->NavHighlightActivatedId);
///
///
/// C++:
/// imgui_internal.h:2486
///
float NavHighlightActivatedTimer
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref float NavHighlightActivatedTimer => ref Unsafe.AsRef(&_ptr->NavHighlightActivatedTimer);
///
///
/// Set by ActivateItemByID(), queued until next frame.
///
///
/// C++:
/// imgui_internal.h:2487
///
ImGuiID NavNextActivateId
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiID NavNextActivateId => ref Unsafe.AsRef(&_ptr->NavNextActivateId);
///
///
/// C++:
/// imgui_internal.h:2488
///
ImGuiActivateFlags NavNextActivateFlags
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiActivateFlags NavNextActivateFlags =>
ref Unsafe.AsRef(&_ptr->NavNextActivateFlags);
///
///
/// Keyboard or Gamepad mode? THIS CAN ONLY BE ImGuiInputSource_Keyboard or ImGuiInputSource_Mouse
///
///
/// C++:
/// imgui_internal.h:2489
///
ImGuiInputSource NavInputSource
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ImGuiInputSource NavInputSource => ref Unsafe.AsRef(&_ptr->NavInputSource);
///
///
/// Last valid data passed to SetNextItemSelectionUser(), or -1. For current window. Not reset when focusing
/// an item that doesn't have selection data.
///
///
/// C++:
/// imgui_internal.h:2490
///
ImGuiSelectionUserData NavLastValidSelectionUserData
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref ulong NavLastValidSelectionUserData => ref Unsafe.AsRef(&_ptr->NavLastValidSelectionUserData);
///
///
/// C++:
/// imgui_internal.h:2491
///
ImS8 NavCursorHideFrames
///
///
///
///
/// Keyboard/Gamepad Navigation
///
///
public ref sbyte NavCursorHideFrames => ref Unsafe.AsRef(&_ptr->NavCursorHideFrames);
///
///
/// ~~ NavMoveRequest || NavInitRequest this is to perform early out in ItemAdd()
///
///
/// C++:
/// imgui_internal.h:2495
///
bool NavAnyRequest
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavAnyRequest => ref Unsafe.AsRef(&_ptr->NavAnyRequest);
///
///
/// Init request for appearing window to select first item
///
///
/// C++:
/// imgui_internal.h:2496
///
bool NavInitRequest
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavInitRequest => ref Unsafe.AsRef(&_ptr->NavInitRequest);
///
///
/// C++:
/// imgui_internal.h:2497
///
bool NavInitRequestFromMove
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavInitRequestFromMove => ref Unsafe.AsRef(&_ptr->NavInitRequestFromMove);
///
///
/// Init request result (first item of the window, or one for which SetItemDefaultFocus() was called)
///
///
/// C++:
/// imgui_internal.h:2498
///
ImGuiNavItemData NavInitResult
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavItemData NavInitResult => ref Unsafe.AsRef(&_ptr->NavInitResult);
///
///
/// Move request submitted, will process result on next NewFrame()
///
///
/// C++:
/// imgui_internal.h:2499
///
bool NavMoveSubmitted
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavMoveSubmitted => ref Unsafe.AsRef(&_ptr->NavMoveSubmitted);
///
///
/// Move request submitted, still scoring incoming items
///
///
/// C++:
/// imgui_internal.h:2500
///
bool NavMoveScoringItems
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavMoveScoringItems => ref Unsafe.AsRef(&_ptr->NavMoveScoringItems);
///
///
/// C++:
/// imgui_internal.h:2501
///
bool NavMoveForwardToNextFrame
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref bool NavMoveForwardToNextFrame => ref Unsafe.AsRef(&_ptr->NavMoveForwardToNextFrame);
///
///
/// C++:
/// imgui_internal.h:2502
///
ImGuiNavMoveFlags NavMoveFlags
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavMoveFlags NavMoveFlags => ref Unsafe.AsRef(&_ptr->NavMoveFlags);
///
///
/// C++:
/// imgui_internal.h:2503
///
ImGuiScrollFlags NavMoveScrollFlags
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiScrollFlags NavMoveScrollFlags => ref Unsafe.AsRef(&_ptr->NavMoveScrollFlags);
///
///
/// C++:
/// imgui_internal.h:2504
///
ImGuiKeyChord NavMoveKeyMods
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiKeyChord NavMoveKeyMods => ref Unsafe.AsRef(&_ptr->NavMoveKeyMods);
///
///
/// Direction of the move request (left/right/up/down)
///
///
/// C++:
/// imgui_internal.h:2505
///
ImGuiDir NavMoveDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiDir NavMoveDir => ref Unsafe.AsRef(&_ptr->NavMoveDir);
///
///
/// C++:
/// imgui_internal.h:2506
///
ImGuiDir NavMoveDirForDebug
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiDir NavMoveDirForDebug => ref Unsafe.AsRef(&_ptr->NavMoveDirForDebug);
///
///
/// FIXME-NAV: Describe the purpose of this better. Might want to rename?
///
///
/// C++:
/// imgui_internal.h:2507
///
ImGuiDir NavMoveClipDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiDir NavMoveClipDir => ref Unsafe.AsRef(&_ptr->NavMoveClipDir);
///
///
/// Rectangle used for scoring, in screen space. Based of window->NavRectRel[], modified for directional
/// navigation scoring.
///
///
/// C++:
/// imgui_internal.h:2508
///
ImRect NavScoringRect
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref floatRect NavScoringRect => ref Unsafe.AsRef(&_ptr->NavScoringRect);
///
///
/// Some nav operations (such as PageUp/PageDown) enforce a region which clipper will attempt to always keep
/// submitted
///
///
/// C++:
/// imgui_internal.h:2509
///
ImRect NavScoringNoClipRect
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref floatRect NavScoringNoClipRect => ref Unsafe.AsRef(&_ptr->NavScoringNoClipRect);
///
///
/// Metrics for debugging
///
///
/// C++:
/// imgui_internal.h:2510
///
int NavScoringDebugCount
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref int NavScoringDebugCount => ref Unsafe.AsRef(&_ptr->NavScoringDebugCount);
///
///
/// Generally -1 or +1, 0 when tabbing without a nav id
///
///
/// C++:
/// imgui_internal.h:2511
///
int NavTabbingDir
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref int NavTabbingDir => ref Unsafe.AsRef(&_ptr->NavTabbingDir);
///
///
/// >0 when counting items for tabbing
///
///
/// C++:
/// imgui_internal.h:2512
///
int NavTabbingCounter
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref int NavTabbingCounter => ref Unsafe.AsRef(&_ptr->NavTabbingCounter);
///
///
/// Best move request candidate within NavWindow
///
///
/// C++:
/// imgui_internal.h:2513
///
ImGuiNavItemData NavMoveResultLocal
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavItemData NavMoveResultLocal => ref Unsafe.AsRef(&_ptr->NavMoveResultLocal);
///
///
/// Best move request candidate within NavWindow that are mostly visible (when using
/// ImGuiNavMoveFlags_AlsoScoreVisibleSet flag)
///
///
/// C++:
/// imgui_internal.h:2514
///
ImGuiNavItemData NavMoveResultLocalVisible
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavItemData NavMoveResultLocalVisible =>
ref Unsafe.AsRef(&_ptr->NavMoveResultLocalVisible);
///
///
/// Best move request candidate within NavWindow's flattened hierarchy (when using
/// ImGuiWindowFlags_NavFlattened flag)
///
///
/// C++:
/// imgui_internal.h:2515
///
ImGuiNavItemData NavMoveResultOther
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavItemData NavMoveResultOther => ref Unsafe.AsRef(&_ptr->NavMoveResultOther);
///
///
/// First tabbing request candidate within NavWindow and flattened hierarchy
///
///
/// C++:
/// imgui_internal.h:2516
///
ImGuiNavItemData NavTabbingResultFirst
///
///
///
///
/// Navigation: Init & Move Requests
///
///
public ref ImGuiNavItemData NavTabbingResultFirst =>
ref Unsafe.AsRef(&_ptr->NavTabbingResultFirst);
///
///
/// Just navigated from this focus scope id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2519
///
ImGuiID NavJustMovedFromFocusScopeId
///
///
///
///
/// Navigation: record of last move request
///
///
public ref ImGuiID NavJustMovedFromFocusScopeId =>
ref Unsafe.AsRef(&_ptr->NavJustMovedFromFocusScopeId);
///
///
/// Just navigated to this id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2520
///
ImGuiID NavJustMovedToId
///
///
///
///
/// Navigation: record of last move request
///
///
public ref ImGuiID NavJustMovedToId => ref Unsafe.AsRef(&_ptr->NavJustMovedToId);
///
///
/// Just navigated to this focus scope id (result of a successfully MoveRequest).
///
///
/// C++:
/// imgui_internal.h:2521
///
ImGuiID NavJustMovedToFocusScopeId
///
///
///
///
/// Navigation: record of last move request
///
///
public ref ImGuiID NavJustMovedToFocusScopeId => ref Unsafe.AsRef(&_ptr->NavJustMovedToFocusScopeId);
///
///
/// C++:
/// imgui_internal.h:2522
///
ImGuiKeyChord NavJustMovedToKeyMods
///
///
///
///
/// Navigation: record of last move request
///
///
public ref ImGuiKeyChord NavJustMovedToKeyMods => ref Unsafe.AsRef(&_ptr->NavJustMovedToKeyMods);
///
///
/// Copy of ImGuiNavMoveFlags_IsTabbing. Maybe we should store whole flags.
///
///
/// C++:
/// imgui_internal.h:2523
///
bool NavJustMovedToIsTabbing
///
///
///
///
/// Navigation: record of last move request
///
///
public ref bool NavJustMovedToIsTabbing => ref Unsafe.AsRef(&_ptr->NavJustMovedToIsTabbing);
///
///
/// Copy of move result's ItemFlags & ImGuiItemFlags_HasSelectionUserData). Maybe we should just store
/// ImGuiNavItemData.
///
///
/// C++:
/// imgui_internal.h:2524
///
bool NavJustMovedToHasSelectionData
///
///
///
///
/// Navigation: record of last move request
///
///
public ref bool NavJustMovedToHasSelectionData => ref Unsafe.AsRef(&_ptr->NavJustMovedToHasSelectionData);
///
///
/// = true. Enable CTRL+TAB by holding ImGuiKey_GamepadFaceLeft (== ImGuiKey_NavGamepadMenu). When false,
/// the button may still be used to toggle Menu layer.
///
///
/// C++:
/// imgui_internal.h:2527
///
bool ConfigNavWindowingWithGamepad
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref bool ConfigNavWindowingWithGamepad => ref Unsafe.AsRef(&_ptr->ConfigNavWindowingWithGamepad);
///
///
/// = ImGuiMod_Ctrl | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiKey_Tab on OS X). For reconfiguration (see
/// #4828)
///
///
/// C++:
/// imgui_internal.h:2528
///
ImGuiKeyChord ConfigNavWindowingKeyNext
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiKeyChord ConfigNavWindowingKeyNext =>
ref Unsafe.AsRef(&_ptr->ConfigNavWindowingKeyNext);
///
///
/// = ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab (or ImGuiMod_Super | ImGuiMod_Shift | ImGuiKey_Tab on OS
/// X)
///
///
/// C++:
/// imgui_internal.h:2529
///
ImGuiKeyChord ConfigNavWindowingKeyPrev
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiKeyChord ConfigNavWindowingKeyPrev =>
ref Unsafe.AsRef(&_ptr->ConfigNavWindowingKeyPrev);
///
///
/// Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed
/// top-most!
///
///
/// C++:
/// imgui_internal.h:2530
///
ImGuiWindow* NavWindowingTarget
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiWindowPtr NavWindowingTarget => ref Unsafe.AsRef(&_ptr->NavWindowingTarget);
///
///
/// Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so
/// the fade-out can stay on it.
///
///
/// C++:
/// imgui_internal.h:2531
///
ImGuiWindow* NavWindowingTargetAnim
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiWindowPtr NavWindowingTargetAnim =>
ref Unsafe.AsRef(&_ptr->NavWindowingTargetAnim);
///
///
/// Internal window actually listing the CTRL+Tab contents
///
///
/// C++:
/// imgui_internal.h:2532
///
ImGuiWindow* NavWindowingListWindow
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiWindowPtr NavWindowingListWindow =>
ref Unsafe.AsRef(&_ptr->NavWindowingListWindow);
///
///
/// C++:
/// imgui_internal.h:2533
///
float NavWindowingTimer
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref float NavWindowingTimer => ref Unsafe.AsRef(&_ptr->NavWindowingTimer);
///
///
/// C++:
/// imgui_internal.h:2534
///
float NavWindowingHighlightAlpha
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref float NavWindowingHighlightAlpha => ref Unsafe.AsRef(&_ptr->NavWindowingHighlightAlpha);
///
///
/// C++:
/// imgui_internal.h:2535
///
ImGuiInputSource NavWindowingInputSource
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiInputSource NavWindowingInputSource =>
ref Unsafe.AsRef(&_ptr->NavWindowingInputSource);
///
///
/// Set while Alt or GamepadMenu is held, may be cleared by other operations, and processed when releasing
/// the key.
///
///
/// C++:
/// imgui_internal.h:2536
///
bool NavWindowingToggleLayer
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref bool NavWindowingToggleLayer => ref Unsafe.AsRef(&_ptr->NavWindowingToggleLayer);
///
///
/// Keyboard/gamepad key used when toggling to menu layer.
///
///
/// C++:
/// imgui_internal.h:2537
///
ImGuiKey NavWindowingToggleKey
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref ImGuiKey NavWindowingToggleKey => ref Unsafe.AsRef(&_ptr->NavWindowingToggleKey);
///
///
/// C++:
/// imgui_internal.h:2538
///
ImVec2 NavWindowingAccumDeltaPos
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref float2 NavWindowingAccumDeltaPos => ref Unsafe.AsRef(&_ptr->NavWindowingAccumDeltaPos);
///
///
/// C++:
/// imgui_internal.h:2539
///
ImVec2 NavWindowingAccumDeltaSize
///
///
///
///
/// Navigation: Windowing (CTRL+TAB for list, or Menu button + keys or directional pads to move/resize)
///
///
public ref float2 NavWindowingAccumDeltaSize => ref Unsafe.AsRef(&_ptr->NavWindowingAccumDeltaSize);
///
///
/// 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list)
///
///
/// C++:
/// imgui_internal.h:2542
///
float DimBgRatio
///
///
///
///
/// Render
///
///
public ref float DimBgRatio => ref Unsafe.AsRef(&_ptr->DimBgRatio);
///
///
/// C++:
/// imgui_internal.h:2545
///
bool DragDropActive
///
///
///
///
/// Drag and Drop
///
///
public ref bool DragDropActive => ref Unsafe.AsRef(&_ptr->DragDropActive);
///
///
/// Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag source.
///
///
/// C++:
/// imgui_internal.h:2546
///
bool DragDropWithinSource
///
///
///
///
/// Drag and Drop
///
///
public ref bool DragDropWithinSource => ref Unsafe.AsRef(&_ptr->DragDropWithinSource);
///
///
/// Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag target.
///
///
/// C++:
/// imgui_internal.h:2547
///
bool DragDropWithinTarget
///
///
///
///
/// Drag and Drop
///
///
public ref bool DragDropWithinTarget => ref Unsafe.AsRef(&_ptr->DragDropWithinTarget);
///
///
/// C++:
/// imgui_internal.h:2548
///
ImGuiDragDropFlags DragDropSourceFlags
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiDragDropFlags DragDropSourceFlags =>
ref Unsafe.AsRef(&_ptr->DragDropSourceFlags);
///
///
/// C++:
/// imgui_internal.h:2549
///
int DragDropSourceFrameCount
///
///
///
///
/// Drag and Drop
///
///
public ref int DragDropSourceFrameCount => ref Unsafe.AsRef(&_ptr->DragDropSourceFrameCount);
///
///
/// C++:
/// imgui_internal.h:2550
///
int DragDropMouseButton
///
///
///
///
/// Drag and Drop
///
///
public ref int DragDropMouseButton => ref Unsafe.AsRef(&_ptr->DragDropMouseButton);
///
///
/// C++:
/// imgui_internal.h:2551
///
ImGuiPayload DragDropPayload
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiPayload DragDropPayload => ref Unsafe.AsRef(&_ptr->DragDropPayload);
///
///
/// Store rectangle of current target candidate (we favor small targets when overlapping)
///
///
/// C++:
/// imgui_internal.h:2552
///
ImRect DragDropTargetRect
///
///
///
///
/// Drag and Drop
///
///
public ref floatRect DragDropTargetRect => ref Unsafe.AsRef(&_ptr->DragDropTargetRect);
///
///
/// Store ClipRect at the time of item's drawing
///
///
/// C++:
/// imgui_internal.h:2553
///
ImRect DragDropTargetClipRect
///
///
///
///
/// Drag and Drop
///
///
public ref floatRect DragDropTargetClipRect => ref Unsafe.AsRef(&_ptr->DragDropTargetClipRect);
///
///
/// C++:
/// imgui_internal.h:2554
///
ImGuiID DragDropTargetId
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiID DragDropTargetId => ref Unsafe.AsRef(&_ptr->DragDropTargetId);
///
///
/// C++:
/// imgui_internal.h:2555
///
ImGuiDragDropFlags DragDropAcceptFlags
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiDragDropFlags DragDropAcceptFlags =>
ref Unsafe.AsRef(&_ptr->DragDropAcceptFlags);
///
///
/// Target item surface (we resolve overlapping targets by prioritizing the smaller surface)
///
///
/// C++:
/// imgui_internal.h:2556
///
float DragDropAcceptIdCurrRectSurface
///
///
///
///
/// Drag and Drop
///
///
public ref float DragDropAcceptIdCurrRectSurface =>
ref Unsafe.AsRef(&_ptr->DragDropAcceptIdCurrRectSurface);
///
///
/// Target item id (set at the time of accepting the payload)
///
///
/// C++:
/// imgui_internal.h:2557
///
ImGuiID DragDropAcceptIdCurr
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiID DragDropAcceptIdCurr => ref Unsafe.AsRef(&_ptr->DragDropAcceptIdCurr);
///
///
/// Target item id from previous frame (we need to store this to allow for overlapping drag and drop
/// targets)
///
///
/// C++:
/// imgui_internal.h:2558
///
ImGuiID DragDropAcceptIdPrev
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiID DragDropAcceptIdPrev => ref Unsafe.AsRef(&_ptr->DragDropAcceptIdPrev);
///
///
/// Last time a target expressed a desire to accept the source
///
///
/// C++:
/// imgui_internal.h:2559
///
int DragDropAcceptFrameCount
///
///
///
///
/// Drag and Drop
///
///
public ref int DragDropAcceptFrameCount => ref Unsafe.AsRef(&_ptr->DragDropAcceptFrameCount);
///
///
/// Set when holding a payload just made ButtonBehavior() return a press.
///
///
/// C++:
/// imgui_internal.h:2560
///
ImGuiID DragDropHoldJustPressedId
///
///
///
///
/// Drag and Drop
///
///
public ref ImGuiID DragDropHoldJustPressedId => ref Unsafe.AsRef(&_ptr->DragDropHoldJustPressedId);
///
///
/// We don't expose the ImVector<> directly, ImGuiPayload only holds pointer+size
///
///
/// C++:
/// imgui_internal.h:2561
///
ImVector<unsigned char> DragDropPayloadBufHeap
///
///
///
///
/// Drag and Drop
///
///
public ref ImVector DragDropPayloadBufHeap =>
ref Unsafe.AsRef>(&_ptr->DragDropPayloadBufHeap);
///
/// Local buffer for small payloads
///
public Span DragDropPayloadBufLocal => MemoryMarshal.CreateSpan(ref _ptr->DragDropPayloadBufLocal[0], 16);
///