mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
826 lines
35 KiB
C#
826 lines
35 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace Brutal.ImGuiApi.Internal
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2091">imgui_internal.h:2091</see>
|
|
/// <br/><c>struct ImGuiViewportP : public ImGuiViewport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[StructLayout(LayoutKind.Explicit, Size = 344)]
|
|
public partial struct ImGuiViewportP
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when the viewport is owned by a window (and ImGuiViewportFlags_CanHostOtherWindows is NOT set)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2093">imgui_internal.h:2093</see>
|
|
/// <br/><c>ImGuiWindow* Window</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(104)]
|
|
public ImGuiWindowPtr Window;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2094">imgui_internal.h:2094</see>
|
|
/// <br/><c>int Idx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(112)]
|
|
public int Idx;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last frame number this viewport was activated by a window
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2095">imgui_internal.h:2095</see>
|
|
/// <br/><c>int LastFrameActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(116)]
|
|
public int LastFrameActive;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last stamp number from when a window hosted by this viewport was focused (by comparing this value
|
|
/// between two viewport we have an implicit viewport z-order we use as fallback)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2096">imgui_internal.h:2096</see>
|
|
/// <br/><c>int LastFocusedStampCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(120)]
|
|
public int LastFocusedStampCount;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2097">imgui_internal.h:2097</see>
|
|
/// <br/><c>ImGuiID LastNameHash</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(124)]
|
|
public ImGuiID LastNameHash;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2098">imgui_internal.h:2098</see>
|
|
/// <br/><c>ImVec2 LastPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(128)]
|
|
public float2 LastPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2099">imgui_internal.h:2099</see>
|
|
/// <br/><c>ImVec2 LastSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(136)]
|
|
public float2 LastSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Window opacity (when dragging dockable windows/viewports we make them transparent)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2100">imgui_internal.h:2100</see>
|
|
/// <br/><c>float Alpha</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(144)]
|
|
public float Alpha;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2101">imgui_internal.h:2101</see>
|
|
/// <br/><c>float LastAlpha</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(148)]
|
|
public float LastAlpha;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Instead of maintaining a LastFocusedWindow (which may harder to correctly maintain), we merely store
|
|
/// weither NavWindow != NULL last time the viewport was focused.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2102">imgui_internal.h:2102</see>
|
|
/// <br/><c>bool LastFocusedHadNavWindow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(152)]
|
|
public Bool8 LastFocusedHadNavWindow;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2103">imgui_internal.h:2103</see>
|
|
/// <br/><c>short PlatformMonitor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(154)]
|
|
public short PlatformMonitor;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last frame number the background (0) and foreground (1) draw lists were used
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2104">imgui_internal.h:2104</see>
|
|
/// <br/><c>int BgFgDrawListsLastFrame[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(156)]
|
|
public int2 BgFgDrawListsLastFrame;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Convenience background (0) and foreground (1) draw lists. We use them to draw software mouser cursor
|
|
/// when io.MouseDrawCursor is set and to draw most debug overlays.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2105">imgui_internal.h:2105</see>
|
|
/// <br/><c>ImDrawList* BgFgDrawLists[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(168)]
|
|
public ImDrawListPtr_2 BgFgDrawLists;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2106">imgui_internal.h:2106</see>
|
|
/// <br/><c>ImDrawData DrawDataP</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(184)]
|
|
public ImDrawData DrawDataP;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary data while building final ImDrawData
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2107">imgui_internal.h:2107</see>
|
|
/// <br/><c>ImDrawDataBuilder DrawDataBuilder</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(256)]
|
|
public ImDrawDataBuilder DrawDataBuilder;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2108">imgui_internal.h:2108</see>
|
|
/// <br/><c>ImVec2 LastPlatformPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(288)]
|
|
public float2 LastPlatformPos;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2109">imgui_internal.h:2109</see>
|
|
/// <br/><c>ImVec2 LastPlatformSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(296)]
|
|
public float2 LastPlatformSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2110">imgui_internal.h:2110</see>
|
|
/// <br/><c>ImVec2 LastRendererSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(304)]
|
|
public float2 LastRendererSize;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Work Area inset locked for the frame. GetWorkRect() always fits within GetMainRect().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2116">imgui_internal.h:2116</see>
|
|
/// <br/><c>ImVec2 WorkInsetMin</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(312)]
|
|
public float2 WorkInsetMin;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// "
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2117">imgui_internal.h:2117</see>
|
|
/// <br/><c>ImVec2 WorkInsetMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(320)]
|
|
public float2 WorkInsetMax;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Work Area inset accumulator for current frame, to become next frame's WorkInset
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2118">imgui_internal.h:2118</see>
|
|
/// <br/><c>ImVec2 BuildWorkInsetMin</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(328)]
|
|
public float2 BuildWorkInsetMin;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// "
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2119">imgui_internal.h:2119</see>
|
|
/// <br/><c>ImVec2 BuildWorkInsetMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
[FieldOffset(336)]
|
|
public float2 BuildWorkInsetMax;
|
|
}
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2091">imgui_internal.h:2091</see>
|
|
/// <br/><c>struct ImGuiViewportP : public ImGuiViewport</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public unsafe partial struct ImGuiViewportPPtr(ImGuiViewportP* ptr) : INullable
|
|
{
|
|
private ImGuiViewportP* _ptr = ptr;
|
|
public ImGuiViewportP* Ptr => _ptr;
|
|
|
|
public bool IsNull() => _ptr is null;
|
|
|
|
public static implicit operator ImGuiViewportPPtr(ImGuiViewportP* ptr) => new(ptr);
|
|
|
|
public static implicit operator ImGuiViewportP*(ImGuiViewportPPtr wrapper) => wrapper.Ptr;
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Set when the viewport is owned by a window (and ImGuiViewportFlags_CanHostOtherWindows is NOT set)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2093">imgui_internal.h:2093</see>
|
|
/// <br/><c>ImGuiWindow* Window</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiWindowPtr Window => ref Unsafe.AsRef<ImGuiWindowPtr>(&_ptr->Window);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2094">imgui_internal.h:2094</see>
|
|
/// <br/><c>int Idx</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int Idx => ref Unsafe.AsRef<int>(&_ptr->Idx);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last frame number this viewport was activated by a window
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2095">imgui_internal.h:2095</see>
|
|
/// <br/><c>int LastFrameActive</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int LastFrameActive => ref Unsafe.AsRef<int>(&_ptr->LastFrameActive);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last stamp number from when a window hosted by this viewport was focused (by comparing this value
|
|
/// between two viewport we have an implicit viewport z-order we use as fallback)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2096">imgui_internal.h:2096</see>
|
|
/// <br/><c>int LastFocusedStampCount</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int LastFocusedStampCount => ref Unsafe.AsRef<int>(&_ptr->LastFocusedStampCount);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2097">imgui_internal.h:2097</see>
|
|
/// <br/><c>ImGuiID LastNameHash</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImGuiID LastNameHash => ref Unsafe.AsRef<ImGuiID>(&_ptr->LastNameHash);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2098">imgui_internal.h:2098</see>
|
|
/// <br/><c>ImVec2 LastPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 LastPos => ref Unsafe.AsRef<float2>(&_ptr->LastPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2099">imgui_internal.h:2099</see>
|
|
/// <br/><c>ImVec2 LastSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 LastSize => ref Unsafe.AsRef<float2>(&_ptr->LastSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Window opacity (when dragging dockable windows/viewports we make them transparent)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2100">imgui_internal.h:2100</see>
|
|
/// <br/><c>float Alpha</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float Alpha => ref Unsafe.AsRef<float>(&_ptr->Alpha);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2101">imgui_internal.h:2101</see>
|
|
/// <br/><c>float LastAlpha</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float LastAlpha => ref Unsafe.AsRef<float>(&_ptr->LastAlpha);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Instead of maintaining a LastFocusedWindow (which may harder to correctly maintain), we merely store
|
|
/// weither NavWindow != NULL last time the viewport was focused.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2102">imgui_internal.h:2102</see>
|
|
/// <br/><c>bool LastFocusedHadNavWindow</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref bool LastFocusedHadNavWindow => ref Unsafe.AsRef<bool>(&_ptr->LastFocusedHadNavWindow);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2103">imgui_internal.h:2103</see>
|
|
/// <br/><c>short PlatformMonitor</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref short PlatformMonitor => ref Unsafe.AsRef<short>(&_ptr->PlatformMonitor);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Last frame number the background (0) and foreground (1) draw lists were used
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2104">imgui_internal.h:2104</see>
|
|
/// <br/><c>int BgFgDrawListsLastFrame[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref int2 BgFgDrawListsLastFrame => ref Unsafe.AsRef<int2>(&_ptr->BgFgDrawListsLastFrame);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Convenience background (0) and foreground (1) draw lists. We use them to draw software mouser cursor
|
|
/// when io.MouseDrawCursor is set and to draw most debug overlays.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2105">imgui_internal.h:2105</see>
|
|
/// <br/><c>ImDrawList* BgFgDrawLists[2]</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImDrawListPtr_2 BgFgDrawLists => ref Unsafe.AsRef<ImDrawListPtr_2>(&_ptr->BgFgDrawLists);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2106">imgui_internal.h:2106</see>
|
|
/// <br/><c>ImDrawData DrawDataP</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImDrawData DrawDataP => ref Unsafe.AsRef<ImDrawData>(&_ptr->DrawDataP);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Temporary data while building final ImDrawData
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2107">imgui_internal.h:2107</see>
|
|
/// <br/><c>ImDrawDataBuilder DrawDataBuilder</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref ImDrawDataBuilder DrawDataBuilder => ref Unsafe.AsRef<ImDrawDataBuilder>(&_ptr->DrawDataBuilder);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2108">imgui_internal.h:2108</see>
|
|
/// <br/><c>ImVec2 LastPlatformPos</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 LastPlatformPos => ref Unsafe.AsRef<float2>(&_ptr->LastPlatformPos);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2109">imgui_internal.h:2109</see>
|
|
/// <br/><c>ImVec2 LastPlatformSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 LastPlatformSize => ref Unsafe.AsRef<float2>(&_ptr->LastPlatformSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2110">imgui_internal.h:2110</see>
|
|
/// <br/><c>ImVec2 LastRendererSize</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// ImGuiViewport Private/Internals fields (cardinal sin: we are using inheritance!)
|
|
/// Every instance of ImGuiViewport is in fact a ImGuiViewportP.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 LastRendererSize => ref Unsafe.AsRef<float2>(&_ptr->LastRendererSize);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Work Area inset locked for the frame. GetWorkRect() always fits within GetMainRect().
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2116">imgui_internal.h:2116</see>
|
|
/// <br/><c>ImVec2 WorkInsetMin</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 WorkInsetMin => ref Unsafe.AsRef<float2>(&_ptr->WorkInsetMin);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// "
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2117">imgui_internal.h:2117</see>
|
|
/// <br/><c>ImVec2 WorkInsetMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 WorkInsetMax => ref Unsafe.AsRef<float2>(&_ptr->WorkInsetMax);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Work Area inset accumulator for current frame, to become next frame's WorkInset
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2118">imgui_internal.h:2118</see>
|
|
/// <br/><c>ImVec2 BuildWorkInsetMin</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 BuildWorkInsetMin => ref Unsafe.AsRef<float2>(&_ptr->BuildWorkInsetMin);
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// "
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui_internal.h#L2119">imgui_internal.h:2119</see>
|
|
/// <br/><c>ImVec2 BuildWorkInsetMax</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// Per-viewport work area
|
|
/// - Insets are >= 0.0f values, distance from viewport corners to work area.
|
|
/// - BeginMainMenuBar() and DockspaceOverViewport() tend to use work area to avoid stepping over existing contents.
|
|
/// - Generally 'safeAreaInsets' in iOS land, 'DisplayCutout' in Android land.
|
|
/// </code>
|
|
/// </remarks>
|
|
public ref float2 BuildWorkInsetMax => ref Unsafe.AsRef<float2>(&_ptr->BuildWorkInsetMax);
|
|
}
|
|
}
|