// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// Storage for one window /// /// /// C++: /// imgui_internal.h:190 ///
struct ImGuiWindow ///
///
/// /// /// ImGui /// /// [StructLayout(LayoutKind.Explicit, Size = 1224)] public partial struct ImGuiWindow { /// /// /// Parent UI context (needs to be set explicitly by parent). /// /// /// C++: /// imgui_internal.h:2791 ///
ImGuiContext* Ctx ///
///
/// /// /// Storage for one window /// /// [FieldOffset(0)] public ImGuiContextPtr Ctx; /// /// /// Window name, owned by the window. /// /// /// C++: /// imgui_internal.h:2792 ///
char* Name ///
///
/// /// /// Storage for one window /// /// [FieldOffset(8)] public Ptr Name; /// /// /// == ImHashStr(Name) /// /// /// C++: /// imgui_internal.h:2793 ///
ImGuiID ID ///
///
/// /// /// Storage for one window /// /// [FieldOffset(16)] public ImGuiID ID; /// /// /// See enum ImGuiWindowFlags_ /// /// /// C++: /// imgui_internal.h:2794 ///
ImGuiWindowFlags Flags ///
///
/// /// /// Storage for one window /// /// [FieldOffset(20)] public ImGuiWindowFlags Flags; /// /// /// See enum ImGuiWindowFlags_ /// /// /// C++: /// imgui_internal.h:2794 ///
ImGuiWindowFlags Flags, FlagsPreviousFrame ///
///
/// /// /// Storage for one window /// /// [FieldOffset(24)] public ImGuiWindowFlags FlagsPreviousFrame; /// /// /// Set when window is a child window. See enum ImGuiChildFlags_ /// /// /// C++: /// imgui_internal.h:2795 ///
ImGuiChildFlags ChildFlags ///
///
/// /// /// Storage for one window /// /// [FieldOffset(28)] public ImGuiChildFlags ChildFlags; /// /// /// Advanced users only. Set with SetNextWindowClass() /// /// /// C++: /// imgui_internal.h:2796 ///
ImGuiWindowClass WindowClass ///
///
/// /// /// Storage for one window /// /// [FieldOffset(32)] public ImGuiWindowClass WindowClass; /// /// /// Always set in Begin(). Inactive windows may have a NULL value here if their viewport was discarded. /// /// /// C++: /// imgui_internal.h:2797 ///
ImGuiViewportP* Viewport ///
///
/// /// /// Storage for one window /// /// [FieldOffset(64)] public ImGuiViewportPPtr Viewport; /// /// /// We backup the viewport id (since the viewport may disappear or never be created if the window is /// inactive) /// /// /// C++: /// imgui_internal.h:2798 ///
ImGuiID ViewportId ///
///
/// /// /// Storage for one window /// /// [FieldOffset(72)] public ImGuiID ViewportId; /// /// /// We backup the viewport position (since the viewport may disappear or never be created if the window is /// inactive) /// /// /// C++: /// imgui_internal.h:2799 ///
ImVec2 ViewportPos ///
///
/// /// /// Storage for one window /// /// [FieldOffset(76)] public float2 ViewportPos; /// /// /// Reset to -1 every frame (index is guaranteed to be valid between NewFrame..EndFrame), only used in the /// Appearing frame of a tooltip/popup to enforce clamping to a given monitor /// /// /// C++: /// imgui_internal.h:2800 ///
int ViewportAllowPlatformMonitorExtend ///
///
/// /// /// Storage for one window /// /// [FieldOffset(84)] public int ViewportAllowPlatformMonitorExtend; /// /// /// Position (always rounded-up to nearest pixel) /// /// /// C++: /// imgui_internal.h:2801 ///
ImVec2 Pos ///
///
/// /// /// Storage for one window /// /// [FieldOffset(88)] public float2 Pos; /// /// /// Current size (==SizeFull or collapsed title bar size) /// /// /// C++: /// imgui_internal.h:2802 ///
ImVec2 Size ///
///
/// /// /// Storage for one window /// /// [FieldOffset(96)] public float2 Size; /// /// /// Size when non collapsed /// /// /// C++: /// imgui_internal.h:2803 ///
ImVec2 SizeFull ///
///
/// /// /// Storage for one window /// /// [FieldOffset(104)] public float2 SizeFull; /// /// /// Size of contents/scrollable client area (calculated from the extents reach of the cursor) from previous /// frame. Does not include window decoration or window padding. /// /// /// C++: /// imgui_internal.h:2804 ///
ImVec2 ContentSize ///
///
/// /// /// Storage for one window /// /// [FieldOffset(112)] public float2 ContentSize; /// /// /// C++: /// imgui_internal.h:2805 ///
ImVec2 ContentSizeIdeal ///
///
/// /// /// Storage for one window /// /// [FieldOffset(120)] public float2 ContentSizeIdeal; /// /// /// Size of contents/scrollable client area explicitly request by the user via SetNextWindowContentSize(). /// /// /// C++: /// imgui_internal.h:2806 ///
ImVec2 ContentSizeExplicit ///
///
/// /// /// Storage for one window /// /// [FieldOffset(128)] public float2 ContentSizeExplicit; /// /// /// Window padding at the time of Begin(). /// /// /// C++: /// imgui_internal.h:2807 ///
ImVec2 WindowPadding ///
///
/// /// /// Storage for one window /// /// [FieldOffset(136)] public float2 WindowPadding; /// /// /// Window rounding at the time of Begin(). May be clamped lower to avoid rendering artifacts with title /// bar, menu bar etc. /// /// /// C++: /// imgui_internal.h:2808 ///
float WindowRounding ///
///
/// /// /// Storage for one window /// /// [FieldOffset(144)] public float WindowRounding; /// /// /// Window border size at the time of Begin(). /// /// /// C++: /// imgui_internal.h:2809 ///
float WindowBorderSize ///
///
/// /// /// Storage for one window /// /// [FieldOffset(148)] public float WindowBorderSize; /// /// /// Note that those used to be function before 2024/05/28. If you have old code calling TitleBarHeight() you /// can change it to TitleBarHeight. /// /// /// C++: /// imgui_internal.h:2810 ///
float TitleBarHeight ///
///
/// /// /// Storage for one window /// /// [FieldOffset(152)] public float TitleBarHeight; /// /// /// Note that those used to be function before 2024/05/28. If you have old code calling TitleBarHeight() you /// can change it to TitleBarHeight. /// /// /// C++: /// imgui_internal.h:2810 ///
float TitleBarHeight, MenuBarHeight ///
///
/// /// /// Storage for one window /// /// [FieldOffset(156)] public float MenuBarHeight; /// /// /// Left/Up offsets. Sum of non-scrolling outer decorations (X1 generally == 0.0f. Y1 generally = /// TitleBarHeight + MenuBarHeight). Locked during Begin(). /// /// /// C++: /// imgui_internal.h:2811 ///
float DecoOuterSizeX1 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(160)] public float DecoOuterSizeX1; /// /// /// Left/Up offsets. Sum of non-scrolling outer decorations (X1 generally == 0.0f. Y1 generally = /// TitleBarHeight + MenuBarHeight). Locked during Begin(). /// /// /// C++: /// imgui_internal.h:2811 ///
float DecoOuterSizeX1, DecoOuterSizeY1 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(164)] public float DecoOuterSizeY1; /// /// /// Right/Down offsets (X2 generally == ScrollbarSize.x, Y2 == ScrollbarSizes.y). /// /// /// C++: /// imgui_internal.h:2812 ///
float DecoOuterSizeX2 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(168)] public float DecoOuterSizeX2; /// /// /// Right/Down offsets (X2 generally == ScrollbarSize.x, Y2 == ScrollbarSizes.y). /// /// /// C++: /// imgui_internal.h:2812 ///
float DecoOuterSizeX2, DecoOuterSizeY2 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(172)] public float DecoOuterSizeY2; /// /// /// Applied AFTER/OVER InnerRect. Specialized for Tables as they use specialized form of clipping and frozen /// rows/columns are inside InnerRect (and not part of regular decoration sizes). /// /// /// C++: /// imgui_internal.h:2813 ///
float DecoInnerSizeX1 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(176)] public float DecoInnerSizeX1; /// /// /// Applied AFTER/OVER InnerRect. Specialized for Tables as they use specialized form of clipping and frozen /// rows/columns are inside InnerRect (and not part of regular decoration sizes). /// /// /// C++: /// imgui_internal.h:2813 ///
float DecoInnerSizeX1, DecoInnerSizeY1 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(180)] public float DecoInnerSizeY1; /// /// /// Size of buffer storing Name. May be larger than strlen(Name)! /// /// /// C++: /// imgui_internal.h:2814 ///
int NameBufLen ///
///
/// /// /// Storage for one window /// /// [FieldOffset(184)] public int NameBufLen; /// /// /// == window->GetID("#MOVE") /// /// /// C++: /// imgui_internal.h:2815 ///
ImGuiID MoveId ///
///
/// /// /// Storage for one window /// /// [FieldOffset(188)] public ImGuiID MoveId; /// /// /// == window->GetID("#TAB") /// /// /// C++: /// imgui_internal.h:2816 ///
ImGuiID TabId ///
///
/// /// /// Storage for one window /// /// [FieldOffset(192)] public ImGuiID TabId; /// /// /// ID of corresponding item in parent window (for navigation to return from child window to parent window) /// /// /// C++: /// imgui_internal.h:2817 ///
ImGuiID ChildId ///
///
/// /// /// Storage for one window /// /// [FieldOffset(196)] public ImGuiID ChildId; /// /// /// ID in the popup stack when this window is used as a popup/menu (because we use generic Name/ID for /// recycling) /// /// /// C++: /// imgui_internal.h:2818 ///
ImGuiID PopupId ///
///
/// /// /// Storage for one window /// /// [FieldOffset(200)] public ImGuiID PopupId; /// /// /// C++: /// imgui_internal.h:2819 ///
ImVec2 Scroll ///
///
/// /// /// Storage for one window /// /// [FieldOffset(204)] public float2 Scroll; /// /// /// C++: /// imgui_internal.h:2820 ///
ImVec2 ScrollMax ///
///
/// /// /// Storage for one window /// /// [FieldOffset(212)] public float2 ScrollMax; /// /// /// target scroll position. stored as cursor position with scrolling canceled out, so the highest point is /// always 0.0f. (FLT_MAX for no change) /// /// /// C++: /// imgui_internal.h:2821 ///
ImVec2 ScrollTarget ///
///
/// /// /// Storage for one window /// /// [FieldOffset(220)] public float2 ScrollTarget; /// /// /// 0.0f = scroll so that target position is at top, 0.5f = scroll so that target position is centered /// /// /// C++: /// imgui_internal.h:2822 ///
ImVec2 ScrollTargetCenterRatio ///
///
/// /// /// Storage for one window /// /// [FieldOffset(228)] public float2 ScrollTargetCenterRatio; /// /// /// 0.0f = no snapping, >0.0f snapping threshold /// /// /// C++: /// imgui_internal.h:2823 ///
ImVec2 ScrollTargetEdgeSnapDist ///
///
/// /// /// Storage for one window /// /// [FieldOffset(236)] public float2 ScrollTargetEdgeSnapDist; /// /// /// Size taken by each scrollbars on their smaller axis. Pay attention! ScrollbarSizes.x == width of the /// vertical scrollbar, ScrollbarSizes.y = height of the horizontal scrollbar. /// /// /// C++: /// imgui_internal.h:2824 ///
ImVec2 ScrollbarSizes ///
///
/// /// /// Storage for one window /// /// [FieldOffset(244)] public float2 ScrollbarSizes; /// /// /// Are scrollbars visible? /// /// /// C++: /// imgui_internal.h:2825 ///
bool ScrollbarX ///
///
/// /// /// Storage for one window /// /// [FieldOffset(252)] public Bool8 ScrollbarX; /// /// /// Are scrollbars visible? /// /// /// C++: /// imgui_internal.h:2825 ///
bool ScrollbarX, ScrollbarY ///
///
/// /// /// Storage for one window /// /// [FieldOffset(253)] public Bool8 ScrollbarY; /// /// /// Was ScrollbarX previously auto-stabilized? /// /// /// C++: /// imgui_internal.h:2826 ///
bool ScrollbarXStabilizeEnabled ///
///
/// /// /// Storage for one window /// /// [FieldOffset(254)] public Bool8 ScrollbarXStabilizeEnabled; /// /// /// Used to stabilize scrollbar visibility in case of feedback loops /// /// /// C++: /// imgui_internal.h:2827 ///
ImU8 ScrollbarXStabilizeToggledHistory ///
///
/// /// /// Storage for one window /// /// [FieldOffset(255)] public byte ScrollbarXStabilizeToggledHistory; /// /// /// C++: /// imgui_internal.h:2828 ///
bool ViewportOwned ///
///
/// /// /// Storage for one window /// /// [FieldOffset(256)] public Bool8 ViewportOwned; /// /// /// Set to true on Begin(), unless Collapsed /// /// /// C++: /// imgui_internal.h:2829 ///
bool Active ///
///
/// /// /// Storage for one window /// /// [FieldOffset(257)] public Bool8 Active; /// /// /// C++: /// imgui_internal.h:2830 ///
bool WasActive ///
///
/// /// /// Storage for one window /// /// [FieldOffset(258)] public Bool8 WasActive; /// /// /// Set to true when any widget access the current window /// /// /// C++: /// imgui_internal.h:2831 ///
bool WriteAccessed ///
///
/// /// /// Storage for one window /// /// [FieldOffset(259)] public Bool8 WriteAccessed; /// /// /// Set when collapsing window to become only title-bar /// /// /// C++: /// imgui_internal.h:2832 ///
bool Collapsed ///
///
/// /// /// Storage for one window /// /// [FieldOffset(260)] public Bool8 Collapsed; /// /// /// C++: /// imgui_internal.h:2833 ///
bool WantCollapseToggle ///
///
/// /// /// Storage for one window /// /// [FieldOffset(261)] public Bool8 WantCollapseToggle; /// /// /// Set when items can safely be all clipped (e.g. window not visible or collapsed) /// /// /// C++: /// imgui_internal.h:2834 ///
bool SkipItems ///
///
/// /// /// Storage for one window /// /// [FieldOffset(262)] public Bool8 SkipItems; /// /// /// [EXPERIMENTAL] Reuse previous frame drawn contents, Begin() returns false. /// /// /// C++: /// imgui_internal.h:2835 ///
bool SkipRefresh ///
///
/// /// /// Storage for one window /// /// [FieldOffset(263)] public Bool8 SkipRefresh; /// /// /// Set during the frame where the window is appearing (or re-appearing) /// /// /// C++: /// imgui_internal.h:2836 ///
bool Appearing ///
///
/// /// /// Storage for one window /// /// [FieldOffset(264)] public Bool8 Appearing; /// /// /// Do not display (== HiddenFrames*** > 0) /// /// /// C++: /// imgui_internal.h:2837 ///
bool Hidden ///
///
/// /// /// Storage for one window /// /// [FieldOffset(265)] public Bool8 Hidden; /// /// /// Set on the "Debug##Default" window. /// /// /// C++: /// imgui_internal.h:2838 ///
bool IsFallbackWindow ///
///
/// /// /// Storage for one window /// /// [FieldOffset(266)] public Bool8 IsFallbackWindow; /// /// /// Set when passed _ChildWindow, left to false by BeginDocked() /// /// /// C++: /// imgui_internal.h:2839 ///
bool IsExplicitChild ///
///
/// /// /// Storage for one window /// /// [FieldOffset(267)] public Bool8 IsExplicitChild; /// /// /// Set when the window has a close button (p_open != NULL) /// /// /// C++: /// imgui_internal.h:2840 ///
bool HasCloseButton ///
///
/// /// /// Storage for one window /// /// [FieldOffset(268)] public Bool8 HasCloseButton; /// /// /// Current border being hovered for resize (-1: none, otherwise 0-3) /// /// /// C++: /// imgui_internal.h:2841 ///
signed char ResizeBorderHovered ///
///
/// /// /// Storage for one window /// /// [FieldOffset(269)] public byte ResizeBorderHovered; /// /// /// Current border being held for resize (-1: none, otherwise 0-3) /// /// /// C++: /// imgui_internal.h:2842 ///
signed char ResizeBorderHeld ///
///
/// /// /// Storage for one window /// /// [FieldOffset(270)] public byte ResizeBorderHeld; /// /// /// Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End /// pairs) /// /// /// C++: /// imgui_internal.h:2843 ///
short BeginCount ///
///
/// /// /// Storage for one window /// /// [FieldOffset(272)] public short BeginCount; /// /// /// Number of Begin() during the previous frame /// /// /// C++: /// imgui_internal.h:2844 ///
short BeginCountPreviousFrame ///
///
/// /// /// Storage for one window /// /// [FieldOffset(274)] public short BeginCountPreviousFrame; /// /// /// Begin() order within immediate parent window, if we are a child window. Otherwise 0. /// /// /// C++: /// imgui_internal.h:2845 ///
short BeginOrderWithinParent ///
///
/// /// /// Storage for one window /// /// [FieldOffset(276)] public short BeginOrderWithinParent; /// /// /// Begin() order within entire imgui context. This is mostly used for debugging submission order related /// issues. /// /// /// C++: /// imgui_internal.h:2846 ///
short BeginOrderWithinContext ///
///
/// /// /// Storage for one window /// /// [FieldOffset(278)] public short BeginOrderWithinContext; /// /// /// Order within WindowsFocusOrder[], altered when windows are focused. /// /// /// C++: /// imgui_internal.h:2847 ///
short FocusOrder ///
///
/// /// /// Storage for one window /// /// [FieldOffset(280)] public short FocusOrder; /// /// /// C++: /// imgui_internal.h:2848 ///
ImS8 AutoFitFramesX ///
///
/// /// /// Storage for one window /// /// [FieldOffset(282)] public sbyte AutoFitFramesX; /// /// /// C++: /// imgui_internal.h:2848 ///
ImS8 AutoFitFramesX, AutoFitFramesY ///
///
/// /// /// Storage for one window /// /// [FieldOffset(283)] public sbyte AutoFitFramesY; /// /// /// C++: /// imgui_internal.h:2849 ///
bool AutoFitOnlyGrows ///
///
/// /// /// Storage for one window /// /// [FieldOffset(284)] public Bool8 AutoFitOnlyGrows; /// /// /// C++: /// imgui_internal.h:2850 ///
ImGuiDir AutoPosLastDirection ///
///
/// /// /// Storage for one window /// /// [FieldOffset(288)] public ImGuiDir AutoPosLastDirection; /// /// /// Hide the window for N frames /// /// /// C++: /// imgui_internal.h:2851 ///
ImS8 HiddenFramesCanSkipItems ///
///
/// /// /// Storage for one window /// /// [FieldOffset(292)] public sbyte HiddenFramesCanSkipItems; /// /// /// Hide the window for N frames while allowing items to be submitted so we can measure their size /// /// /// C++: /// imgui_internal.h:2852 ///
ImS8 HiddenFramesCannotSkipItems ///
///
/// /// /// Storage for one window /// /// [FieldOffset(293)] public sbyte HiddenFramesCannotSkipItems; /// /// /// Hide the window until frame N at Render() time only /// /// /// C++: /// imgui_internal.h:2853 ///
ImS8 HiddenFramesForRenderOnly ///
///
/// /// /// Storage for one window /// /// [FieldOffset(294)] public sbyte HiddenFramesForRenderOnly; /// /// /// Disable window interactions for N frames /// /// /// C++: /// imgui_internal.h:2854 ///
ImS8 DisableInputsFrames ///
///
/// /// /// Storage for one window /// /// [FieldOffset(295)] public sbyte DisableInputsFrames; /// /// /// store acceptable condition flags for SetNextWindowPos() use. /// /// /// C++: /// imgui_internal.h:2855 ///
ImGuiCond SetWindowPosAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(296)] public ImGuiCond SetWindowPosAllowFlags; /// /// /// store acceptable condition flags for SetNextWindowSize() use. /// /// /// C++: /// imgui_internal.h:2856 ///
ImGuiCond SetWindowSizeAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(297)] public ImGuiCond SetWindowSizeAllowFlags; /// /// /// store acceptable condition flags for SetNextWindowCollapsed() use. /// /// /// C++: /// imgui_internal.h:2857 ///
ImGuiCond SetWindowCollapsedAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(298)] public ImGuiCond SetWindowCollapsedAllowFlags; /// /// /// store acceptable condition flags for SetNextWindowDock() use. /// /// /// C++: /// imgui_internal.h:2858 ///
ImGuiCond SetWindowDockAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// [FieldOffset(299)] public ImGuiCond SetWindowDockAllowFlags; /// /// /// store window position when using a non-zero Pivot (position set needs to be processed when we know the /// window size) /// /// /// C++: /// imgui_internal.h:2859 ///
ImVec2 SetWindowPosVal ///
///
/// /// /// Storage for one window /// /// [FieldOffset(300)] public float2 SetWindowPosVal; /// /// /// store window pivot for positioning. ImVec2(0, 0) when positioning from top-left corner; ImVec2(0.5f, /// 0.5f) for centering; ImVec2(1, 1) for bottom right. /// /// /// C++: /// imgui_internal.h:2860 ///
ImVec2 SetWindowPosPivot ///
///
/// /// /// Storage for one window /// /// [FieldOffset(308)] public float2 SetWindowPosPivot; /// /// /// ID stack. ID are hashes seeded with the value at the top of the stack. (In theory this should be in the /// TempData structure) /// /// /// C++: /// imgui_internal.h:2862 ///
ImVector<ImGuiID> IDStack ///
///
[FieldOffset(320)] public ImVector IDStack; /// /// /// Temporary per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, /// hence the "DC" variable name. /// /// /// C++: /// imgui_internal.h:2863 ///
ImGuiWindowTempData DC ///
///
[FieldOffset(336)] public ImGuiWindowTempData DC; /// /// /// == Window->Rect() just after setup in Begin(). == window->Rect() for root window. /// /// /// C++: /// imgui_internal.h:2867 ///
ImRect OuterRectClipped ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(608)] public floatRect OuterRectClipped; /// /// /// Inner rectangle (omit title bar, menu bar, scroll bar) /// /// /// C++: /// imgui_internal.h:2868 ///
ImRect InnerRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(624)] public floatRect InnerRect; /// /// /// == InnerRect shrunk by WindowPadding*0.5f on each side, clipped within viewport or parent clip rect. /// /// /// C++: /// imgui_internal.h:2869 ///
ImRect InnerClipRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(640)] public floatRect InnerClipRect; /// /// /// Initially covers the whole scrolling region. Reduced by containers e.g columns/tables when active. /// Shrunk by WindowPadding*1.0f on each side. This is meant to replace ContentRegionRect over time (from /// 1.71+ onward). /// /// /// C++: /// imgui_internal.h:2870 ///
ImRect WorkRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(656)] public floatRect WorkRect; /// /// /// Backup of WorkRect before entering a container such as columns/tables. Used by e.g. SpanAllColumns /// functions to easily access. Stacked containers are responsible for maintaining this. // FIXME-WORKRECT: /// Could be a stack? /// /// /// C++: /// imgui_internal.h:2871 ///
ImRect ParentWorkRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(672)] public floatRect ParentWorkRect; /// /// /// Current clipping/scissoring rectangle, evolve as we are using PushClipRect(), etc. == /// DrawList->clip_rect_stack.back(). /// /// /// C++: /// imgui_internal.h:2872 ///
ImRect ClipRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(688)] public floatRect ClipRect; /// /// /// FIXME: This is currently confusing/misleading. It is essentially WorkRect but not handling of scrolling. /// We currently rely on it as right/bottom aligned sizing operation need some size to rely on. /// /// /// C++: /// imgui_internal.h:2873 ///
ImRect ContentRegionRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(704)] public floatRect ContentRegionRect; /// /// /// Define an optional rectangular hole where mouse will pass-through the window. /// /// /// C++: /// imgui_internal.h:2874 ///
ImVec2ih HitTestHoleSize ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(720)] public short2 HitTestHoleSize; /// /// /// C++: /// imgui_internal.h:2875 ///
ImVec2ih HitTestHoleOffset ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// [FieldOffset(724)] public short2 HitTestHoleOffset; /// /// /// Last frame number the window was Active. /// /// /// C++: /// imgui_internal.h:2877 ///
int LastFrameActive ///
///
[FieldOffset(728)] public int LastFrameActive; /// /// /// Last frame number the window was made Focused. /// /// /// C++: /// imgui_internal.h:2878 ///
int LastFrameJustFocused ///
///
[FieldOffset(732)] public int LastFrameJustFocused; /// /// /// Last timestamp the window was Active (using float as we don't need high precision there) /// /// /// C++: /// imgui_internal.h:2879 ///
float LastTimeActive ///
///
[FieldOffset(736)] public float LastTimeActive; /// /// /// C++: /// imgui_internal.h:2880 ///
float ItemWidthDefault ///
///
[FieldOffset(740)] public float ItemWidthDefault; /// /// /// C++: /// imgui_internal.h:2881 ///
ImGuiStorage StateStorage ///
///
[FieldOffset(744)] public ImGuiStorage StateStorage; /// /// /// C++: /// imgui_internal.h:2882 ///
ImVector<ImGuiOldColumns> ColumnsStorage ///
///
[FieldOffset(760)] public ImVector ColumnsStorage; /// /// /// User scale multiplier per-window, via SetWindowFontScale() /// /// /// C++: /// imgui_internal.h:2883 ///
float FontWindowScale ///
///
[FieldOffset(776)] public float FontWindowScale; /// /// /// C++: /// imgui_internal.h:2884 ///
float FontWindowScaleParents ///
///
[FieldOffset(780)] public float FontWindowScaleParents; /// /// /// This is a copy of window->CalcFontSize() at the time of Begin(), trying to phase out CalcFontSize() /// especially as it may be called on non-current window. /// /// /// C++: /// imgui_internal.h:2885 ///
float FontRefSize ///
///
[FieldOffset(784)] public float FontRefSize; /// /// /// Offset into SettingsWindows[] (offsets are always valid as we only grow the array from the back) /// /// /// C++: /// imgui_internal.h:2886 ///
int SettingsOffset ///
///
[FieldOffset(788)] public int SettingsOffset; /// /// /// == &DrawListInst (for backward compatibility reason with code using imgui_internal.h we keep this a /// pointer) /// /// /// C++: /// imgui_internal.h:2888 ///
ImDrawList* DrawList ///
///
[FieldOffset(792)] public ImDrawListPtr DrawList; /// /// /// C++: /// imgui_internal.h:2889 ///
ImDrawList DrawListInst ///
///
[FieldOffset(800)] public ImDrawList DrawListInst; /// /// /// If we are a child _or_ popup _or_ docked window, this is pointing to our parent. Otherwise NULL. /// /// /// C++: /// imgui_internal.h:2890 ///
ImGuiWindow* ParentWindow ///
///
[FieldOffset(1024)] public ImGuiWindowPtr ParentWindow; /// /// /// C++: /// imgui_internal.h:2891 ///
ImGuiWindow* ParentWindowInBeginStack ///
///
[FieldOffset(1032)] public ImGuiWindowPtr ParentWindowInBeginStack; /// /// /// Point to ourself or first ancestor that is not a child window. Doesn't cross through popups/dock nodes. /// /// /// C++: /// imgui_internal.h:2892 ///
ImGuiWindow* RootWindow ///
///
[FieldOffset(1040)] public ImGuiWindowPtr RootWindow; /// /// /// Point to ourself or first ancestor that is not a child window. Cross through popups parent<>child. /// /// /// C++: /// imgui_internal.h:2893 ///
ImGuiWindow* RootWindowPopupTree ///
///
[FieldOffset(1048)] public ImGuiWindowPtr RootWindowPopupTree; /// /// /// Point to ourself or first ancestor that is not a child window. Cross through dock nodes. /// /// /// C++: /// imgui_internal.h:2894 ///
ImGuiWindow* RootWindowDockTree ///
///
[FieldOffset(1056)] public ImGuiWindowPtr RootWindowDockTree; /// /// /// Point to ourself or first ancestor which will display TitleBgActive color when this window is active. /// /// /// C++: /// imgui_internal.h:2895 ///
ImGuiWindow* RootWindowForTitleBarHighlight ///
///
[FieldOffset(1064)] public ImGuiWindowPtr RootWindowForTitleBarHighlight; /// /// /// Point to ourself or first ancestor which doesn't have the NavFlattened flag. /// /// /// C++: /// imgui_internal.h:2896 ///
ImGuiWindow* RootWindowForNav ///
///
[FieldOffset(1072)] public ImGuiWindowPtr RootWindowForNav; /// /// /// Set to manual link a window to its logical parent so that Shortcut() chain are honoerd (e.g. Tool linked /// to Document) /// /// /// C++: /// imgui_internal.h:2897 ///
ImGuiWindow* ParentWindowForFocusRoute ///
///
[FieldOffset(1080)] public ImGuiWindowPtr ParentWindowForFocusRoute; /// /// /// When going to the menu bar, we remember the child window we came from. (This could probably be made /// implicit if we kept g.Windows sorted by last focused including child window.) /// /// /// C++: /// imgui_internal.h:2899 ///
ImGuiWindow* NavLastChildNavWindow ///
///
[FieldOffset(1088)] public ImGuiWindowPtr NavLastChildNavWindow; /// /// /// Last known NavId for this window, per layer (0/1) /// /// /// C++: /// imgui_internal.h:2900 ///
ImGuiID NavLastIds[ImGuiNavLayer_COUNT] ///
///
[FieldOffset(1096)] public ImGuiID_2 NavLastIds; /// /// /// Reference rectangle, in window relative space /// /// /// C++: /// imgui_internal.h:2901 ///
ImRect NavRectRel[ImGuiNavLayer_COUNT] ///
///
[FieldOffset(1104)] public floatRect_2 NavRectRel; /// /// /// Preferred X/Y position updated when moving on a given axis, reset to FLT_MAX. /// /// /// C++: /// imgui_internal.h:2902 ///
ImVec2 NavPreferredScoringPosRel[ImGuiNavLayer_COUNT] ///
///
[FieldOffset(1136)] public float2_2 NavPreferredScoringPosRel; /// /// /// Focus Scope ID at the time of Begin() /// /// /// C++: /// imgui_internal.h:2903 ///
ImGuiID NavRootFocusScopeId ///
///
[FieldOffset(1152)] public ImGuiID NavRootFocusScopeId; /// /// /// Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative /// alloc/copy /// /// /// C++: /// imgui_internal.h:2905 ///
int MemoryDrawListIdxCapacity ///
///
[FieldOffset(1156)] public int MemoryDrawListIdxCapacity; /// /// /// C++: /// imgui_internal.h:2906 ///
int MemoryDrawListVtxCapacity ///
///
[FieldOffset(1160)] public int MemoryDrawListVtxCapacity; /// /// /// Set when window extraneous data have been garbage collected /// /// /// C++: /// imgui_internal.h:2907 ///
bool MemoryCompacted ///
///
[FieldOffset(1164)] public Bool8 MemoryCompacted; /// /// /// When docking artifacts are actually visible. When this is set, DockNode is guaranteed to be != NULL. ~~ /// (DockNode != NULL) && (DockNode->Windows.Size > 1). /// /// /// C++: /// imgui_internal.h:2910 ///
bool DockIsActive :1 ///
///
/// /// /// Docking /// /// [FieldOffset(1165)] public Bool8 DockIsActive; /// /// /// C++: /// imgui_internal.h:2911 ///
bool DockNodeIsVisible :1 ///
///
/// /// /// Docking /// /// [FieldOffset(1165)] public Bool8 DockNodeIsVisible; /// /// /// Is our window visible this frame? ~~ is the corresponding tab selected? /// /// /// C++: /// imgui_internal.h:2912 ///
bool DockTabIsVisible :1 ///
///
/// /// /// Docking /// /// [FieldOffset(1165)] public Bool8 DockTabIsVisible; /// /// /// C++: /// imgui_internal.h:2913 ///
bool DockTabWantClose :1 ///
///
/// /// /// Docking /// /// [FieldOffset(1165)] public Bool8 DockTabWantClose; /// /// /// Order of the last time the window was visible within its DockNode. This is used to reorder windows that /// are reappearing on the same frame. Same value between windows that were active and windows that were /// none are possible. /// /// /// C++: /// imgui_internal.h:2914 ///
short DockOrder ///
///
/// /// /// Docking /// /// [FieldOffset(1166)] public short DockOrder; /// /// /// C++: /// imgui_internal.h:2915 ///
ImGuiWindowDockStyle DockStyle ///
///
/// /// /// Docking /// /// [FieldOffset(1168)] public ImGuiWindowDockStyle DockStyle; /// /// /// Which node are we docked into. Important: Prefer testing DockIsActive in many cases as this will still /// be set when the dock node is hidden. /// /// /// C++: /// imgui_internal.h:2916 ///
ImGuiDockNode* DockNode ///
///
/// /// /// Docking /// /// [FieldOffset(1200)] public ImGuiDockNodePtr DockNode; /// /// /// Which node are we owning (for parent windows) /// /// /// C++: /// imgui_internal.h:2917 ///
ImGuiDockNode* DockNodeAsHost ///
///
/// /// /// Docking /// /// [FieldOffset(1208)] public ImGuiDockNodePtr DockNodeAsHost; /// /// /// Backup of last valid DockNode->ID, so single window remember their dock node id even when they are /// not bound any more /// /// /// C++: /// imgui_internal.h:2918 ///
ImGuiID DockId ///
///
/// /// /// Docking /// /// [FieldOffset(1216)] public ImGuiID DockId; } /// /// /// Storage for one window /// /// /// C++: /// imgui_internal.h:190 ///
struct ImGuiWindow ///
///
/// /// /// ImGui /// /// public unsafe partial struct ImGuiWindowPtr(ImGuiWindow* ptr) : INullable { private ImGuiWindow* _ptr = ptr; public ImGuiWindow* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiWindowPtr(ImGuiWindow* ptr) => new(ptr); public static implicit operator ImGuiWindow*(ImGuiWindowPtr wrapper) => wrapper.Ptr; /// /// /// Parent UI context (needs to be set explicitly by parent). /// /// /// C++: /// imgui_internal.h:2791 ///
ImGuiContext* Ctx ///
///
/// /// /// Storage for one window /// /// public ref ImGuiContextPtr Ctx => ref Unsafe.AsRef(&_ptr->Ctx); /// /// /// Window name, owned by the window. /// /// /// C++: /// imgui_internal.h:2792 ///
char* Name ///
///
/// /// /// Storage for one window /// /// public ref Ptr Name => ref Unsafe.AsRef>(&_ptr->Name); /// /// /// == ImHashStr(Name) /// /// /// C++: /// imgui_internal.h:2793 ///
ImGuiID ID ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID); /// /// /// See enum ImGuiWindowFlags_ /// /// /// C++: /// imgui_internal.h:2794 ///
ImGuiWindowFlags Flags ///
///
/// /// /// Storage for one window /// /// public ref ImGuiWindowFlags Flags => ref Unsafe.AsRef(&_ptr->Flags); /// /// /// See enum ImGuiWindowFlags_ /// /// /// C++: /// imgui_internal.h:2794 ///
ImGuiWindowFlags Flags, FlagsPreviousFrame ///
///
/// /// /// Storage for one window /// /// public ref ImGuiWindowFlags FlagsPreviousFrame => ref Unsafe.AsRef(&_ptr->FlagsPreviousFrame); /// /// /// Set when window is a child window. See enum ImGuiChildFlags_ /// /// /// C++: /// imgui_internal.h:2795 ///
ImGuiChildFlags ChildFlags ///
///
/// /// /// Storage for one window /// /// public ref ImGuiChildFlags ChildFlags => ref Unsafe.AsRef(&_ptr->ChildFlags); /// /// /// Advanced users only. Set with SetNextWindowClass() /// /// /// C++: /// imgui_internal.h:2796 ///
ImGuiWindowClass WindowClass ///
///
/// /// /// Storage for one window /// /// public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&_ptr->WindowClass); /// /// /// Always set in Begin(). Inactive windows may have a NULL value here if their viewport was discarded. /// /// /// C++: /// imgui_internal.h:2797 ///
ImGuiViewportP* Viewport ///
///
/// /// /// Storage for one window /// /// public ref ImGuiViewportPPtr Viewport => ref Unsafe.AsRef(&_ptr->Viewport); /// /// /// We backup the viewport id (since the viewport may disappear or never be created if the window is /// inactive) /// /// /// C++: /// imgui_internal.h:2798 ///
ImGuiID ViewportId ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID ViewportId => ref Unsafe.AsRef(&_ptr->ViewportId); /// /// /// We backup the viewport position (since the viewport may disappear or never be created if the window is /// inactive) /// /// /// C++: /// imgui_internal.h:2799 ///
ImVec2 ViewportPos ///
///
/// /// /// Storage for one window /// /// public ref float2 ViewportPos => ref Unsafe.AsRef(&_ptr->ViewportPos); /// /// /// Reset to -1 every frame (index is guaranteed to be valid between NewFrame..EndFrame), only used in the /// Appearing frame of a tooltip/popup to enforce clamping to a given monitor /// /// /// C++: /// imgui_internal.h:2800 ///
int ViewportAllowPlatformMonitorExtend ///
///
/// /// /// Storage for one window /// /// public ref int ViewportAllowPlatformMonitorExtend => ref Unsafe.AsRef(&_ptr->ViewportAllowPlatformMonitorExtend); /// /// /// Position (always rounded-up to nearest pixel) /// /// /// C++: /// imgui_internal.h:2801 ///
ImVec2 Pos ///
///
/// /// /// Storage for one window /// /// public ref float2 Pos => ref Unsafe.AsRef(&_ptr->Pos); /// /// /// Current size (==SizeFull or collapsed title bar size) /// /// /// C++: /// imgui_internal.h:2802 ///
ImVec2 Size ///
///
/// /// /// Storage for one window /// /// public ref float2 Size => ref Unsafe.AsRef(&_ptr->Size); /// /// /// Size when non collapsed /// /// /// C++: /// imgui_internal.h:2803 ///
ImVec2 SizeFull ///
///
/// /// /// Storage for one window /// /// public ref float2 SizeFull => ref Unsafe.AsRef(&_ptr->SizeFull); /// /// /// Size of contents/scrollable client area (calculated from the extents reach of the cursor) from previous /// frame. Does not include window decoration or window padding. /// /// /// C++: /// imgui_internal.h:2804 ///
ImVec2 ContentSize ///
///
/// /// /// Storage for one window /// /// public ref float2 ContentSize => ref Unsafe.AsRef(&_ptr->ContentSize); /// /// /// C++: /// imgui_internal.h:2805 ///
ImVec2 ContentSizeIdeal ///
///
/// /// /// Storage for one window /// /// public ref float2 ContentSizeIdeal => ref Unsafe.AsRef(&_ptr->ContentSizeIdeal); /// /// /// Size of contents/scrollable client area explicitly request by the user via SetNextWindowContentSize(). /// /// /// C++: /// imgui_internal.h:2806 ///
ImVec2 ContentSizeExplicit ///
///
/// /// /// Storage for one window /// /// public ref float2 ContentSizeExplicit => ref Unsafe.AsRef(&_ptr->ContentSizeExplicit); /// /// /// Window padding at the time of Begin(). /// /// /// C++: /// imgui_internal.h:2807 ///
ImVec2 WindowPadding ///
///
/// /// /// Storage for one window /// /// public ref float2 WindowPadding => ref Unsafe.AsRef(&_ptr->WindowPadding); /// /// /// Window rounding at the time of Begin(). May be clamped lower to avoid rendering artifacts with title /// bar, menu bar etc. /// /// /// C++: /// imgui_internal.h:2808 ///
float WindowRounding ///
///
/// /// /// Storage for one window /// /// public ref float WindowRounding => ref Unsafe.AsRef(&_ptr->WindowRounding); /// /// /// Window border size at the time of Begin(). /// /// /// C++: /// imgui_internal.h:2809 ///
float WindowBorderSize ///
///
/// /// /// Storage for one window /// /// public ref float WindowBorderSize => ref Unsafe.AsRef(&_ptr->WindowBorderSize); /// /// /// Note that those used to be function before 2024/05/28. If you have old code calling TitleBarHeight() you /// can change it to TitleBarHeight. /// /// /// C++: /// imgui_internal.h:2810 ///
float TitleBarHeight ///
///
/// /// /// Storage for one window /// /// public ref float TitleBarHeight => ref Unsafe.AsRef(&_ptr->TitleBarHeight); /// /// /// Note that those used to be function before 2024/05/28. If you have old code calling TitleBarHeight() you /// can change it to TitleBarHeight. /// /// /// C++: /// imgui_internal.h:2810 ///
float TitleBarHeight, MenuBarHeight ///
///
/// /// /// Storage for one window /// /// public ref float MenuBarHeight => ref Unsafe.AsRef(&_ptr->MenuBarHeight); /// /// /// Left/Up offsets. Sum of non-scrolling outer decorations (X1 generally == 0.0f. Y1 generally = /// TitleBarHeight + MenuBarHeight). Locked during Begin(). /// /// /// C++: /// imgui_internal.h:2811 ///
float DecoOuterSizeX1 ///
///
/// /// /// Storage for one window /// /// public ref float DecoOuterSizeX1 => ref Unsafe.AsRef(&_ptr->DecoOuterSizeX1); /// /// /// Left/Up offsets. Sum of non-scrolling outer decorations (X1 generally == 0.0f. Y1 generally = /// TitleBarHeight + MenuBarHeight). Locked during Begin(). /// /// /// C++: /// imgui_internal.h:2811 ///
float DecoOuterSizeX1, DecoOuterSizeY1 ///
///
/// /// /// Storage for one window /// /// public ref float DecoOuterSizeY1 => ref Unsafe.AsRef(&_ptr->DecoOuterSizeY1); /// /// /// Right/Down offsets (X2 generally == ScrollbarSize.x, Y2 == ScrollbarSizes.y). /// /// /// C++: /// imgui_internal.h:2812 ///
float DecoOuterSizeX2 ///
///
/// /// /// Storage for one window /// /// public ref float DecoOuterSizeX2 => ref Unsafe.AsRef(&_ptr->DecoOuterSizeX2); /// /// /// Right/Down offsets (X2 generally == ScrollbarSize.x, Y2 == ScrollbarSizes.y). /// /// /// C++: /// imgui_internal.h:2812 ///
float DecoOuterSizeX2, DecoOuterSizeY2 ///
///
/// /// /// Storage for one window /// /// public ref float DecoOuterSizeY2 => ref Unsafe.AsRef(&_ptr->DecoOuterSizeY2); /// /// /// Applied AFTER/OVER InnerRect. Specialized for Tables as they use specialized form of clipping and frozen /// rows/columns are inside InnerRect (and not part of regular decoration sizes). /// /// /// C++: /// imgui_internal.h:2813 ///
float DecoInnerSizeX1 ///
///
/// /// /// Storage for one window /// /// public ref float DecoInnerSizeX1 => ref Unsafe.AsRef(&_ptr->DecoInnerSizeX1); /// /// /// Applied AFTER/OVER InnerRect. Specialized for Tables as they use specialized form of clipping and frozen /// rows/columns are inside InnerRect (and not part of regular decoration sizes). /// /// /// C++: /// imgui_internal.h:2813 ///
float DecoInnerSizeX1, DecoInnerSizeY1 ///
///
/// /// /// Storage for one window /// /// public ref float DecoInnerSizeY1 => ref Unsafe.AsRef(&_ptr->DecoInnerSizeY1); /// /// /// Size of buffer storing Name. May be larger than strlen(Name)! /// /// /// C++: /// imgui_internal.h:2814 ///
int NameBufLen ///
///
/// /// /// Storage for one window /// /// public ref int NameBufLen => ref Unsafe.AsRef(&_ptr->NameBufLen); /// /// /// == window->GetID("#MOVE") /// /// /// C++: /// imgui_internal.h:2815 ///
ImGuiID MoveId ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID MoveId => ref Unsafe.AsRef(&_ptr->MoveId); /// /// /// == window->GetID("#TAB") /// /// /// C++: /// imgui_internal.h:2816 ///
ImGuiID TabId ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID TabId => ref Unsafe.AsRef(&_ptr->TabId); /// /// /// ID of corresponding item in parent window (for navigation to return from child window to parent window) /// /// /// C++: /// imgui_internal.h:2817 ///
ImGuiID ChildId ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID ChildId => ref Unsafe.AsRef(&_ptr->ChildId); /// /// /// ID in the popup stack when this window is used as a popup/menu (because we use generic Name/ID for /// recycling) /// /// /// C++: /// imgui_internal.h:2818 ///
ImGuiID PopupId ///
///
/// /// /// Storage for one window /// /// public ref ImGuiID PopupId => ref Unsafe.AsRef(&_ptr->PopupId); /// /// /// C++: /// imgui_internal.h:2819 ///
ImVec2 Scroll ///
///
/// /// /// Storage for one window /// /// public ref float2 Scroll => ref Unsafe.AsRef(&_ptr->Scroll); /// /// /// C++: /// imgui_internal.h:2820 ///
ImVec2 ScrollMax ///
///
/// /// /// Storage for one window /// /// public ref float2 ScrollMax => ref Unsafe.AsRef(&_ptr->ScrollMax); /// /// /// target scroll position. stored as cursor position with scrolling canceled out, so the highest point is /// always 0.0f. (FLT_MAX for no change) /// /// /// C++: /// imgui_internal.h:2821 ///
ImVec2 ScrollTarget ///
///
/// /// /// Storage for one window /// /// public ref float2 ScrollTarget => ref Unsafe.AsRef(&_ptr->ScrollTarget); /// /// /// 0.0f = scroll so that target position is at top, 0.5f = scroll so that target position is centered /// /// /// C++: /// imgui_internal.h:2822 ///
ImVec2 ScrollTargetCenterRatio ///
///
/// /// /// Storage for one window /// /// public ref float2 ScrollTargetCenterRatio => ref Unsafe.AsRef(&_ptr->ScrollTargetCenterRatio); /// /// /// 0.0f = no snapping, >0.0f snapping threshold /// /// /// C++: /// imgui_internal.h:2823 ///
ImVec2 ScrollTargetEdgeSnapDist ///
///
/// /// /// Storage for one window /// /// public ref float2 ScrollTargetEdgeSnapDist => ref Unsafe.AsRef(&_ptr->ScrollTargetEdgeSnapDist); /// /// /// Size taken by each scrollbars on their smaller axis. Pay attention! ScrollbarSizes.x == width of the /// vertical scrollbar, ScrollbarSizes.y = height of the horizontal scrollbar. /// /// /// C++: /// imgui_internal.h:2824 ///
ImVec2 ScrollbarSizes ///
///
/// /// /// Storage for one window /// /// public ref float2 ScrollbarSizes => ref Unsafe.AsRef(&_ptr->ScrollbarSizes); /// /// /// Are scrollbars visible? /// /// /// C++: /// imgui_internal.h:2825 ///
bool ScrollbarX ///
///
/// /// /// Storage for one window /// /// public ref bool ScrollbarX => ref Unsafe.AsRef(&_ptr->ScrollbarX); /// /// /// Are scrollbars visible? /// /// /// C++: /// imgui_internal.h:2825 ///
bool ScrollbarX, ScrollbarY ///
///
/// /// /// Storage for one window /// /// public ref bool ScrollbarY => ref Unsafe.AsRef(&_ptr->ScrollbarY); /// /// /// Was ScrollbarX previously auto-stabilized? /// /// /// C++: /// imgui_internal.h:2826 ///
bool ScrollbarXStabilizeEnabled ///
///
/// /// /// Storage for one window /// /// public ref bool ScrollbarXStabilizeEnabled => ref Unsafe.AsRef(&_ptr->ScrollbarXStabilizeEnabled); /// /// /// Used to stabilize scrollbar visibility in case of feedback loops /// /// /// C++: /// imgui_internal.h:2827 ///
ImU8 ScrollbarXStabilizeToggledHistory ///
///
/// /// /// Storage for one window /// /// public ref byte ScrollbarXStabilizeToggledHistory => ref Unsafe.AsRef(&_ptr->ScrollbarXStabilizeToggledHistory); /// /// /// C++: /// imgui_internal.h:2828 ///
bool ViewportOwned ///
///
/// /// /// Storage for one window /// /// public ref bool ViewportOwned => ref Unsafe.AsRef(&_ptr->ViewportOwned); /// /// /// Set to true on Begin(), unless Collapsed /// /// /// C++: /// imgui_internal.h:2829 ///
bool Active ///
///
/// /// /// Storage for one window /// /// public ref bool Active => ref Unsafe.AsRef(&_ptr->Active); /// /// /// C++: /// imgui_internal.h:2830 ///
bool WasActive ///
///
/// /// /// Storage for one window /// /// public ref bool WasActive => ref Unsafe.AsRef(&_ptr->WasActive); /// /// /// Set to true when any widget access the current window /// /// /// C++: /// imgui_internal.h:2831 ///
bool WriteAccessed ///
///
/// /// /// Storage for one window /// /// public ref bool WriteAccessed => ref Unsafe.AsRef(&_ptr->WriteAccessed); /// /// /// Set when collapsing window to become only title-bar /// /// /// C++: /// imgui_internal.h:2832 ///
bool Collapsed ///
///
/// /// /// Storage for one window /// /// public ref bool Collapsed => ref Unsafe.AsRef(&_ptr->Collapsed); /// /// /// C++: /// imgui_internal.h:2833 ///
bool WantCollapseToggle ///
///
/// /// /// Storage for one window /// /// public ref bool WantCollapseToggle => ref Unsafe.AsRef(&_ptr->WantCollapseToggle); /// /// /// Set when items can safely be all clipped (e.g. window not visible or collapsed) /// /// /// C++: /// imgui_internal.h:2834 ///
bool SkipItems ///
///
/// /// /// Storage for one window /// /// public ref bool SkipItems => ref Unsafe.AsRef(&_ptr->SkipItems); /// /// /// [EXPERIMENTAL] Reuse previous frame drawn contents, Begin() returns false. /// /// /// C++: /// imgui_internal.h:2835 ///
bool SkipRefresh ///
///
/// /// /// Storage for one window /// /// public ref bool SkipRefresh => ref Unsafe.AsRef(&_ptr->SkipRefresh); /// /// /// Set during the frame where the window is appearing (or re-appearing) /// /// /// C++: /// imgui_internal.h:2836 ///
bool Appearing ///
///
/// /// /// Storage for one window /// /// public ref bool Appearing => ref Unsafe.AsRef(&_ptr->Appearing); /// /// /// Do not display (== HiddenFrames*** > 0) /// /// /// C++: /// imgui_internal.h:2837 ///
bool Hidden ///
///
/// /// /// Storage for one window /// /// public ref bool Hidden => ref Unsafe.AsRef(&_ptr->Hidden); /// /// /// Set on the "Debug##Default" window. /// /// /// C++: /// imgui_internal.h:2838 ///
bool IsFallbackWindow ///
///
/// /// /// Storage for one window /// /// public ref bool IsFallbackWindow => ref Unsafe.AsRef(&_ptr->IsFallbackWindow); /// /// /// Set when passed _ChildWindow, left to false by BeginDocked() /// /// /// C++: /// imgui_internal.h:2839 ///
bool IsExplicitChild ///
///
/// /// /// Storage for one window /// /// public ref bool IsExplicitChild => ref Unsafe.AsRef(&_ptr->IsExplicitChild); /// /// /// Set when the window has a close button (p_open != NULL) /// /// /// C++: /// imgui_internal.h:2840 ///
bool HasCloseButton ///
///
/// /// /// Storage for one window /// /// public ref bool HasCloseButton => ref Unsafe.AsRef(&_ptr->HasCloseButton); /// /// /// Current border being hovered for resize (-1: none, otherwise 0-3) /// /// /// C++: /// imgui_internal.h:2841 ///
signed char ResizeBorderHovered ///
///
/// /// /// Storage for one window /// /// public ref byte ResizeBorderHovered => ref Unsafe.AsRef(&_ptr->ResizeBorderHovered); /// /// /// Current border being held for resize (-1: none, otherwise 0-3) /// /// /// C++: /// imgui_internal.h:2842 ///
signed char ResizeBorderHeld ///
///
/// /// /// Storage for one window /// /// public ref byte ResizeBorderHeld => ref Unsafe.AsRef(&_ptr->ResizeBorderHeld); /// /// /// Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End /// pairs) /// /// /// C++: /// imgui_internal.h:2843 ///
short BeginCount ///
///
/// /// /// Storage for one window /// /// public ref short BeginCount => ref Unsafe.AsRef(&_ptr->BeginCount); /// /// /// Number of Begin() during the previous frame /// /// /// C++: /// imgui_internal.h:2844 ///
short BeginCountPreviousFrame ///
///
/// /// /// Storage for one window /// /// public ref short BeginCountPreviousFrame => ref Unsafe.AsRef(&_ptr->BeginCountPreviousFrame); /// /// /// Begin() order within immediate parent window, if we are a child window. Otherwise 0. /// /// /// C++: /// imgui_internal.h:2845 ///
short BeginOrderWithinParent ///
///
/// /// /// Storage for one window /// /// public ref short BeginOrderWithinParent => ref Unsafe.AsRef(&_ptr->BeginOrderWithinParent); /// /// /// Begin() order within entire imgui context. This is mostly used for debugging submission order related /// issues. /// /// /// C++: /// imgui_internal.h:2846 ///
short BeginOrderWithinContext ///
///
/// /// /// Storage for one window /// /// public ref short BeginOrderWithinContext => ref Unsafe.AsRef(&_ptr->BeginOrderWithinContext); /// /// /// Order within WindowsFocusOrder[], altered when windows are focused. /// /// /// C++: /// imgui_internal.h:2847 ///
short FocusOrder ///
///
/// /// /// Storage for one window /// /// public ref short FocusOrder => ref Unsafe.AsRef(&_ptr->FocusOrder); /// /// /// C++: /// imgui_internal.h:2848 ///
ImS8 AutoFitFramesX ///
///
/// /// /// Storage for one window /// /// public ref sbyte AutoFitFramesX => ref Unsafe.AsRef(&_ptr->AutoFitFramesX); /// /// /// C++: /// imgui_internal.h:2848 ///
ImS8 AutoFitFramesX, AutoFitFramesY ///
///
/// /// /// Storage for one window /// /// public ref sbyte AutoFitFramesY => ref Unsafe.AsRef(&_ptr->AutoFitFramesY); /// /// /// C++: /// imgui_internal.h:2849 ///
bool AutoFitOnlyGrows ///
///
/// /// /// Storage for one window /// /// public ref bool AutoFitOnlyGrows => ref Unsafe.AsRef(&_ptr->AutoFitOnlyGrows); /// /// /// C++: /// imgui_internal.h:2850 ///
ImGuiDir AutoPosLastDirection ///
///
/// /// /// Storage for one window /// /// public ref ImGuiDir AutoPosLastDirection => ref Unsafe.AsRef(&_ptr->AutoPosLastDirection); /// /// /// Hide the window for N frames /// /// /// C++: /// imgui_internal.h:2851 ///
ImS8 HiddenFramesCanSkipItems ///
///
/// /// /// Storage for one window /// /// public ref sbyte HiddenFramesCanSkipItems => ref Unsafe.AsRef(&_ptr->HiddenFramesCanSkipItems); /// /// /// Hide the window for N frames while allowing items to be submitted so we can measure their size /// /// /// C++: /// imgui_internal.h:2852 ///
ImS8 HiddenFramesCannotSkipItems ///
///
/// /// /// Storage for one window /// /// public ref sbyte HiddenFramesCannotSkipItems => ref Unsafe.AsRef(&_ptr->HiddenFramesCannotSkipItems); /// /// /// Hide the window until frame N at Render() time only /// /// /// C++: /// imgui_internal.h:2853 ///
ImS8 HiddenFramesForRenderOnly ///
///
/// /// /// Storage for one window /// /// public ref sbyte HiddenFramesForRenderOnly => ref Unsafe.AsRef(&_ptr->HiddenFramesForRenderOnly); /// /// /// Disable window interactions for N frames /// /// /// C++: /// imgui_internal.h:2854 ///
ImS8 DisableInputsFrames ///
///
/// /// /// Storage for one window /// /// public ref sbyte DisableInputsFrames => ref Unsafe.AsRef(&_ptr->DisableInputsFrames); /// /// /// store acceptable condition flags for SetNextWindowPos() use. /// /// /// C++: /// imgui_internal.h:2855 ///
ImGuiCond SetWindowPosAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// public ref ImGuiCond SetWindowPosAllowFlags => ref Unsafe.AsRef(&_ptr->SetWindowPosAllowFlags); /// /// /// store acceptable condition flags for SetNextWindowSize() use. /// /// /// C++: /// imgui_internal.h:2856 ///
ImGuiCond SetWindowSizeAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// public ref ImGuiCond SetWindowSizeAllowFlags => ref Unsafe.AsRef(&_ptr->SetWindowSizeAllowFlags); /// /// /// store acceptable condition flags for SetNextWindowCollapsed() use. /// /// /// C++: /// imgui_internal.h:2857 ///
ImGuiCond SetWindowCollapsedAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// public ref ImGuiCond SetWindowCollapsedAllowFlags => ref Unsafe.AsRef(&_ptr->SetWindowCollapsedAllowFlags); /// /// /// store acceptable condition flags for SetNextWindowDock() use. /// /// /// C++: /// imgui_internal.h:2858 ///
ImGuiCond SetWindowDockAllowFlags : 8 ///
///
/// /// /// Storage for one window /// /// public ref ImGuiCond SetWindowDockAllowFlags => ref Unsafe.AsRef(&_ptr->SetWindowDockAllowFlags); /// /// /// store window position when using a non-zero Pivot (position set needs to be processed when we know the /// window size) /// /// /// C++: /// imgui_internal.h:2859 ///
ImVec2 SetWindowPosVal ///
///
/// /// /// Storage for one window /// /// public ref float2 SetWindowPosVal => ref Unsafe.AsRef(&_ptr->SetWindowPosVal); /// /// /// store window pivot for positioning. ImVec2(0, 0) when positioning from top-left corner; ImVec2(0.5f, /// 0.5f) for centering; ImVec2(1, 1) for bottom right. /// /// /// C++: /// imgui_internal.h:2860 ///
ImVec2 SetWindowPosPivot ///
///
/// /// /// Storage for one window /// /// public ref float2 SetWindowPosPivot => ref Unsafe.AsRef(&_ptr->SetWindowPosPivot); /// /// /// ID stack. ID are hashes seeded with the value at the top of the stack. (In theory this should be in the /// TempData structure) /// /// /// C++: /// imgui_internal.h:2862 ///
ImVector<ImGuiID> IDStack ///
///
public ref ImVector IDStack => ref Unsafe.AsRef>(&_ptr->IDStack); /// /// /// Temporary per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, /// hence the "DC" variable name. /// /// /// C++: /// imgui_internal.h:2863 ///
ImGuiWindowTempData DC ///
///
public ref ImGuiWindowTempData DC => ref Unsafe.AsRef(&_ptr->DC); /// /// /// == Window->Rect() just after setup in Begin(). == window->Rect() for root window. /// /// /// C++: /// imgui_internal.h:2867 ///
ImRect OuterRectClipped ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect OuterRectClipped => ref Unsafe.AsRef(&_ptr->OuterRectClipped); /// /// /// Inner rectangle (omit title bar, menu bar, scroll bar) /// /// /// C++: /// imgui_internal.h:2868 ///
ImRect InnerRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect InnerRect => ref Unsafe.AsRef(&_ptr->InnerRect); /// /// /// == InnerRect shrunk by WindowPadding*0.5f on each side, clipped within viewport or parent clip rect. /// /// /// C++: /// imgui_internal.h:2869 ///
ImRect InnerClipRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect InnerClipRect => ref Unsafe.AsRef(&_ptr->InnerClipRect); /// /// /// Initially covers the whole scrolling region. Reduced by containers e.g columns/tables when active. /// Shrunk by WindowPadding*1.0f on each side. This is meant to replace ContentRegionRect over time (from /// 1.71+ onward). /// /// /// C++: /// imgui_internal.h:2870 ///
ImRect WorkRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect WorkRect => ref Unsafe.AsRef(&_ptr->WorkRect); /// /// /// Backup of WorkRect before entering a container such as columns/tables. Used by e.g. SpanAllColumns /// functions to easily access. Stacked containers are responsible for maintaining this. // FIXME-WORKRECT: /// Could be a stack? /// /// /// C++: /// imgui_internal.h:2871 ///
ImRect ParentWorkRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect ParentWorkRect => ref Unsafe.AsRef(&_ptr->ParentWorkRect); /// /// /// Current clipping/scissoring rectangle, evolve as we are using PushClipRect(), etc. == /// DrawList->clip_rect_stack.back(). /// /// /// C++: /// imgui_internal.h:2872 ///
ImRect ClipRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect ClipRect => ref Unsafe.AsRef(&_ptr->ClipRect); /// /// /// FIXME: This is currently confusing/misleading. It is essentially WorkRect but not handling of scrolling. /// We currently rely on it as right/bottom aligned sizing operation need some size to rely on. /// /// /// C++: /// imgui_internal.h:2873 ///
ImRect ContentRegionRect ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref floatRect ContentRegionRect => ref Unsafe.AsRef(&_ptr->ContentRegionRect); /// /// /// Define an optional rectangular hole where mouse will pass-through the window. /// /// /// C++: /// imgui_internal.h:2874 ///
ImVec2ih HitTestHoleSize ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref short2 HitTestHoleSize => ref Unsafe.AsRef(&_ptr->HitTestHoleSize); /// /// /// C++: /// imgui_internal.h:2875 ///
ImVec2ih HitTestHoleOffset ///
///
/// /// /// The best way to understand what those rectangles are is to use the 'Metrics->Tools->Show Windows Rectangles' viewer. /// The main 'OuterRect', omitted as a field, is window->Rect(). /// /// public ref short2 HitTestHoleOffset => ref Unsafe.AsRef(&_ptr->HitTestHoleOffset); /// /// /// Last frame number the window was Active. /// /// /// C++: /// imgui_internal.h:2877 ///
int LastFrameActive ///
///
public ref int LastFrameActive => ref Unsafe.AsRef(&_ptr->LastFrameActive); /// /// /// Last frame number the window was made Focused. /// /// /// C++: /// imgui_internal.h:2878 ///
int LastFrameJustFocused ///
///
public ref int LastFrameJustFocused => ref Unsafe.AsRef(&_ptr->LastFrameJustFocused); /// /// /// Last timestamp the window was Active (using float as we don't need high precision there) /// /// /// C++: /// imgui_internal.h:2879 ///
float LastTimeActive ///
///
public ref float LastTimeActive => ref Unsafe.AsRef(&_ptr->LastTimeActive); /// /// /// C++: /// imgui_internal.h:2880 ///
float ItemWidthDefault ///
///
public ref float ItemWidthDefault => ref Unsafe.AsRef(&_ptr->ItemWidthDefault); /// /// /// C++: /// imgui_internal.h:2881 ///
ImGuiStorage StateStorage ///
///
public ref ImGuiStorage StateStorage => ref Unsafe.AsRef(&_ptr->StateStorage); /// /// /// C++: /// imgui_internal.h:2882 ///
ImVector<ImGuiOldColumns> ColumnsStorage ///
///
public ref ImVector ColumnsStorage => ref Unsafe.AsRef>(&_ptr->ColumnsStorage); /// /// /// User scale multiplier per-window, via SetWindowFontScale() /// /// /// C++: /// imgui_internal.h:2883 ///
float FontWindowScale ///
///
public ref float FontWindowScale => ref Unsafe.AsRef(&_ptr->FontWindowScale); /// /// /// C++: /// imgui_internal.h:2884 ///
float FontWindowScaleParents ///
///
public ref float FontWindowScaleParents => ref Unsafe.AsRef(&_ptr->FontWindowScaleParents); /// /// /// This is a copy of window->CalcFontSize() at the time of Begin(), trying to phase out CalcFontSize() /// especially as it may be called on non-current window. /// /// /// C++: /// imgui_internal.h:2885 ///
float FontRefSize ///
///
public ref float FontRefSize => ref Unsafe.AsRef(&_ptr->FontRefSize); /// /// /// Offset into SettingsWindows[] (offsets are always valid as we only grow the array from the back) /// /// /// C++: /// imgui_internal.h:2886 ///
int SettingsOffset ///
///
public ref int SettingsOffset => ref Unsafe.AsRef(&_ptr->SettingsOffset); /// /// /// == &DrawListInst (for backward compatibility reason with code using imgui_internal.h we keep this a /// pointer) /// /// /// C++: /// imgui_internal.h:2888 ///
ImDrawList* DrawList ///
///
public ref ImDrawListPtr DrawList => ref Unsafe.AsRef(&_ptr->DrawList); /// /// /// C++: /// imgui_internal.h:2889 ///
ImDrawList DrawListInst ///
///
public ref ImDrawList DrawListInst => ref Unsafe.AsRef(&_ptr->DrawListInst); /// /// /// If we are a child _or_ popup _or_ docked window, this is pointing to our parent. Otherwise NULL. /// /// /// C++: /// imgui_internal.h:2890 ///
ImGuiWindow* ParentWindow ///
///
public ref ImGuiWindowPtr ParentWindow => ref Unsafe.AsRef(&_ptr->ParentWindow); /// /// /// C++: /// imgui_internal.h:2891 ///
ImGuiWindow* ParentWindowInBeginStack ///
///
public ref ImGuiWindowPtr ParentWindowInBeginStack => ref Unsafe.AsRef(&_ptr->ParentWindowInBeginStack); /// /// /// Point to ourself or first ancestor that is not a child window. Doesn't cross through popups/dock nodes. /// /// /// C++: /// imgui_internal.h:2892 ///
ImGuiWindow* RootWindow ///
///
public ref ImGuiWindowPtr RootWindow => ref Unsafe.AsRef(&_ptr->RootWindow); /// /// /// Point to ourself or first ancestor that is not a child window. Cross through popups parent<>child. /// /// /// C++: /// imgui_internal.h:2893 ///
ImGuiWindow* RootWindowPopupTree ///
///
public ref ImGuiWindowPtr RootWindowPopupTree => ref Unsafe.AsRef(&_ptr->RootWindowPopupTree); /// /// /// Point to ourself or first ancestor that is not a child window. Cross through dock nodes. /// /// /// C++: /// imgui_internal.h:2894 ///
ImGuiWindow* RootWindowDockTree ///
///
public ref ImGuiWindowPtr RootWindowDockTree => ref Unsafe.AsRef(&_ptr->RootWindowDockTree); /// /// /// Point to ourself or first ancestor which will display TitleBgActive color when this window is active. /// /// /// C++: /// imgui_internal.h:2895 ///
ImGuiWindow* RootWindowForTitleBarHighlight ///
///
public ref ImGuiWindowPtr RootWindowForTitleBarHighlight => ref Unsafe.AsRef(&_ptr->RootWindowForTitleBarHighlight); /// /// /// Point to ourself or first ancestor which doesn't have the NavFlattened flag. /// /// /// C++: /// imgui_internal.h:2896 ///
ImGuiWindow* RootWindowForNav ///
///
public ref ImGuiWindowPtr RootWindowForNav => ref Unsafe.AsRef(&_ptr->RootWindowForNav); /// /// /// Set to manual link a window to its logical parent so that Shortcut() chain are honoerd (e.g. Tool linked /// to Document) /// /// /// C++: /// imgui_internal.h:2897 ///
ImGuiWindow* ParentWindowForFocusRoute ///
///
public ref ImGuiWindowPtr ParentWindowForFocusRoute => ref Unsafe.AsRef(&_ptr->ParentWindowForFocusRoute); /// /// /// When going to the menu bar, we remember the child window we came from. (This could probably be made /// implicit if we kept g.Windows sorted by last focused including child window.) /// /// /// C++: /// imgui_internal.h:2899 ///
ImGuiWindow* NavLastChildNavWindow ///
///
public ref ImGuiWindowPtr NavLastChildNavWindow => ref Unsafe.AsRef(&_ptr->NavLastChildNavWindow); /// /// /// Last known NavId for this window, per layer (0/1) /// /// /// C++: /// imgui_internal.h:2900 ///
ImGuiID NavLastIds[ImGuiNavLayer_COUNT] ///
///
public ref ImGuiID_2 NavLastIds => ref Unsafe.AsRef(&_ptr->NavLastIds); /// /// /// Reference rectangle, in window relative space /// /// /// C++: /// imgui_internal.h:2901 ///
ImRect NavRectRel[ImGuiNavLayer_COUNT] ///
///
public ref floatRect_2 NavRectRel => ref Unsafe.AsRef(&_ptr->NavRectRel); /// /// /// Preferred X/Y position updated when moving on a given axis, reset to FLT_MAX. /// /// /// C++: /// imgui_internal.h:2902 ///
ImVec2 NavPreferredScoringPosRel[ImGuiNavLayer_COUNT] ///
///
public ref float2_2 NavPreferredScoringPosRel => ref Unsafe.AsRef(&_ptr->NavPreferredScoringPosRel); /// /// /// Focus Scope ID at the time of Begin() /// /// /// C++: /// imgui_internal.h:2903 ///
ImGuiID NavRootFocusScopeId ///
///
public ref ImGuiID NavRootFocusScopeId => ref Unsafe.AsRef(&_ptr->NavRootFocusScopeId); /// /// /// Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative /// alloc/copy /// /// /// C++: /// imgui_internal.h:2905 ///
int MemoryDrawListIdxCapacity ///
///
public ref int MemoryDrawListIdxCapacity => ref Unsafe.AsRef(&_ptr->MemoryDrawListIdxCapacity); /// /// /// C++: /// imgui_internal.h:2906 ///
int MemoryDrawListVtxCapacity ///
///
public ref int MemoryDrawListVtxCapacity => ref Unsafe.AsRef(&_ptr->MemoryDrawListVtxCapacity); /// /// /// Set when window extraneous data have been garbage collected /// /// /// C++: /// imgui_internal.h:2907 ///
bool MemoryCompacted ///
///
public ref bool MemoryCompacted => ref Unsafe.AsRef(&_ptr->MemoryCompacted); /// /// /// When docking artifacts are actually visible. When this is set, DockNode is guaranteed to be != NULL. ~~ /// (DockNode != NULL) && (DockNode->Windows.Size > 1). /// /// /// C++: /// imgui_internal.h:2910 ///
bool DockIsActive :1 ///
///
/// /// /// Docking /// /// public ref bool DockIsActive => ref Unsafe.AsRef(&_ptr->DockIsActive); /// /// /// C++: /// imgui_internal.h:2911 ///
bool DockNodeIsVisible :1 ///
///
/// /// /// Docking /// /// public ref bool DockNodeIsVisible => ref Unsafe.AsRef(&_ptr->DockNodeIsVisible); /// /// /// Is our window visible this frame? ~~ is the corresponding tab selected? /// /// /// C++: /// imgui_internal.h:2912 ///
bool DockTabIsVisible :1 ///
///
/// /// /// Docking /// /// public ref bool DockTabIsVisible => ref Unsafe.AsRef(&_ptr->DockTabIsVisible); /// /// /// C++: /// imgui_internal.h:2913 ///
bool DockTabWantClose :1 ///
///
/// /// /// Docking /// /// public ref bool DockTabWantClose => ref Unsafe.AsRef(&_ptr->DockTabWantClose); /// /// /// Order of the last time the window was visible within its DockNode. This is used to reorder windows that /// are reappearing on the same frame. Same value between windows that were active and windows that were /// none are possible. /// /// /// C++: /// imgui_internal.h:2914 ///
short DockOrder ///
///
/// /// /// Docking /// /// public ref short DockOrder => ref Unsafe.AsRef(&_ptr->DockOrder); /// /// /// C++: /// imgui_internal.h:2915 ///
ImGuiWindowDockStyle DockStyle ///
///
/// /// /// Docking /// /// public ref ImGuiWindowDockStyle DockStyle => ref Unsafe.AsRef(&_ptr->DockStyle); /// /// /// Which node are we docked into. Important: Prefer testing DockIsActive in many cases as this will still /// be set when the dock node is hidden. /// /// /// C++: /// imgui_internal.h:2916 ///
ImGuiDockNode* DockNode ///
///
/// /// /// Docking /// /// public ref ImGuiDockNodePtr DockNode => ref Unsafe.AsRef(&_ptr->DockNode); /// /// /// Which node are we owning (for parent windows) /// /// /// C++: /// imgui_internal.h:2917 ///
ImGuiDockNode* DockNodeAsHost ///
///
/// /// /// Docking /// /// public ref ImGuiDockNodePtr DockNodeAsHost => ref Unsafe.AsRef(&_ptr->DockNodeAsHost); /// /// /// Backup of last valid DockNode->ID, so single window remember their dock node id even when they are /// not bound any more /// /// /// C++: /// imgui_internal.h:2918 ///
ImGuiID DockId ///
///
/// /// /// Docking /// /// public ref ImGuiID DockId => ref Unsafe.AsRef(&_ptr->DockId); } }