//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi.Internal
{
///
///
/// Storage for SetNextWindow** functions
///
///
/// C++:
/// imgui_internal.h:170
///
struct ImGuiNextWindowData
///
///
///
///
/// ImGui
///
///
[StructLayout(LayoutKind.Explicit, Size = 160)]
public partial struct ImGuiNextWindowData
{
///
///
/// C++:
/// imgui_internal.h:1298
///
ImGuiNextWindowDataFlags HasFlags
///
///
///
///
/// Storage for SetNexWindow** functions
///
///
[FieldOffset(0)]
public ImGuiNextWindowDataFlags HasFlags;
///
///
/// C++:
/// imgui_internal.h:1301
///
ImGuiCond PosCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(4)]
public ImGuiCond PosCond;
///
///
/// C++:
/// imgui_internal.h:1302
///
ImGuiCond SizeCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(8)]
public ImGuiCond SizeCond;
///
///
/// C++:
/// imgui_internal.h:1303
///
ImGuiCond CollapsedCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(12)]
public ImGuiCond CollapsedCond;
///
///
/// C++:
/// imgui_internal.h:1304
///
ImGuiCond DockCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(16)]
public ImGuiCond DockCond;
///
///
/// C++:
/// imgui_internal.h:1305
///
ImVec2 PosVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(20)]
public float2 PosVal;
///
///
/// C++:
/// imgui_internal.h:1306
///
ImVec2 PosPivotVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(28)]
public float2 PosPivotVal;
///
///
/// C++:
/// imgui_internal.h:1307
///
ImVec2 SizeVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(36)]
public float2 SizeVal;
///
///
/// C++:
/// imgui_internal.h:1308
///
ImVec2 ContentSizeVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(44)]
public float2 ContentSizeVal;
///
///
/// C++:
/// imgui_internal.h:1309
///
ImVec2 ScrollVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(52)]
public float2 ScrollVal;
///
///
/// Only honored by BeginTable()
///
///
/// C++:
/// imgui_internal.h:1310
///
ImGuiWindowFlags WindowFlags
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(60)]
public ImGuiWindowFlags WindowFlags;
///
///
/// C++:
/// imgui_internal.h:1311
///
ImGuiChildFlags ChildFlags
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(64)]
public ImGuiChildFlags ChildFlags;
///
///
/// C++:
/// imgui_internal.h:1312
///
bool PosUndock
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(68)]
public Bool8 PosUndock;
///
///
/// C++:
/// imgui_internal.h:1313
///
bool CollapsedVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(69)]
public Bool8 CollapsedVal;
///
///
/// C++:
/// imgui_internal.h:1314
///
ImRect SizeConstraintRect
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(72)]
public floatRect SizeConstraintRect;
///
///
/// C++:
/// imgui_internal.h:1315
///
ImGuiSizeCallback SizeCallback
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(88)]
public nint SizeCallback;
///
///
/// C++:
/// imgui_internal.h:1316
///
void* SizeCallbackUserData
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(96)]
public nint SizeCallbackUserData;
///
///
/// Override background alpha
///
///
/// C++:
/// imgui_internal.h:1317
///
float BgAlphaVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(104)]
public float BgAlphaVal;
///
///
/// C++:
/// imgui_internal.h:1318
///
ImGuiID ViewportId
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(108)]
public ImGuiID ViewportId;
///
///
/// C++:
/// imgui_internal.h:1319
///
ImGuiID DockId
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(112)]
public ImGuiID DockId;
///
///
/// C++:
/// imgui_internal.h:1320
///
ImGuiWindowClass WindowClass
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(116)]
public ImGuiWindowClass WindowClass;
///
///
/// (Always on) This is not exposed publicly, so we don't clear it and it doesn't have a corresponding flag
/// (could we? for consistency?)
///
///
/// C++:
/// imgui_internal.h:1321
///
ImVec2 MenuBarOffsetMinVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(148)]
public float2 MenuBarOffsetMinVal;
///
///
/// C++:
/// imgui_internal.h:1322
///
ImGuiWindowRefreshFlags RefreshFlagsVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
[FieldOffset(156)]
public ImGuiWindowRefreshFlags RefreshFlagsVal;
}
///
///
/// Storage for SetNextWindow** functions
///
///
/// C++:
/// imgui_internal.h:170
///
struct ImGuiNextWindowData
///
///
///
///
/// ImGui
///
///
public unsafe partial struct ImGuiNextWindowDataPtr(ImGuiNextWindowData* ptr) : INullable
{
private ImGuiNextWindowData* _ptr = ptr;
public ImGuiNextWindowData* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiNextWindowDataPtr(ImGuiNextWindowData* ptr) => new(ptr);
public static implicit operator ImGuiNextWindowData*(ImGuiNextWindowDataPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// imgui_internal.h:1298
///
ImGuiNextWindowDataFlags HasFlags
///
///
///
///
/// Storage for SetNexWindow** functions
///
///
public ref ImGuiNextWindowDataFlags HasFlags => ref Unsafe.AsRef(&_ptr->HasFlags);
///
///
/// C++:
/// imgui_internal.h:1301
///
ImGuiCond PosCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiCond PosCond => ref Unsafe.AsRef(&_ptr->PosCond);
///
///
/// C++:
/// imgui_internal.h:1302
///
ImGuiCond SizeCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiCond SizeCond => ref Unsafe.AsRef(&_ptr->SizeCond);
///
///
/// C++:
/// imgui_internal.h:1303
///
ImGuiCond CollapsedCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiCond CollapsedCond => ref Unsafe.AsRef(&_ptr->CollapsedCond);
///
///
/// C++:
/// imgui_internal.h:1304
///
ImGuiCond DockCond
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiCond DockCond => ref Unsafe.AsRef(&_ptr->DockCond);
///
///
/// C++:
/// imgui_internal.h:1305
///
ImVec2 PosVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 PosVal => ref Unsafe.AsRef(&_ptr->PosVal);
///
///
/// C++:
/// imgui_internal.h:1306
///
ImVec2 PosPivotVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 PosPivotVal => ref Unsafe.AsRef(&_ptr->PosPivotVal);
///
///
/// C++:
/// imgui_internal.h:1307
///
ImVec2 SizeVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 SizeVal => ref Unsafe.AsRef(&_ptr->SizeVal);
///
///
/// C++:
/// imgui_internal.h:1308
///
ImVec2 ContentSizeVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 ContentSizeVal => ref Unsafe.AsRef(&_ptr->ContentSizeVal);
///
///
/// C++:
/// imgui_internal.h:1309
///
ImVec2 ScrollVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 ScrollVal => ref Unsafe.AsRef(&_ptr->ScrollVal);
///
///
/// Only honored by BeginTable()
///
///
/// C++:
/// imgui_internal.h:1310
///
ImGuiWindowFlags WindowFlags
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiWindowFlags WindowFlags => ref Unsafe.AsRef(&_ptr->WindowFlags);
///
///
/// C++:
/// imgui_internal.h:1311
///
ImGuiChildFlags ChildFlags
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiChildFlags ChildFlags => ref Unsafe.AsRef(&_ptr->ChildFlags);
///
///
/// C++:
/// imgui_internal.h:1312
///
bool PosUndock
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref bool PosUndock => ref Unsafe.AsRef(&_ptr->PosUndock);
///
///
/// C++:
/// imgui_internal.h:1313
///
bool CollapsedVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref bool CollapsedVal => ref Unsafe.AsRef(&_ptr->CollapsedVal);
///
///
/// C++:
/// imgui_internal.h:1314
///
ImRect SizeConstraintRect
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref floatRect SizeConstraintRect => ref Unsafe.AsRef(&_ptr->SizeConstraintRect);
///
///
/// C++:
/// imgui_internal.h:1315
///
ImGuiSizeCallback SizeCallback
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref nint SizeCallback => ref Unsafe.AsRef(&_ptr->SizeCallback);
///
///
/// C++:
/// imgui_internal.h:1316
///
void* SizeCallbackUserData
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref nint SizeCallbackUserData => ref Unsafe.AsRef(&_ptr->SizeCallbackUserData);
///
///
/// Override background alpha
///
///
/// C++:
/// imgui_internal.h:1317
///
float BgAlphaVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float BgAlphaVal => ref Unsafe.AsRef(&_ptr->BgAlphaVal);
///
///
/// C++:
/// imgui_internal.h:1318
///
ImGuiID ViewportId
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiID ViewportId => ref Unsafe.AsRef(&_ptr->ViewportId);
///
///
/// C++:
/// imgui_internal.h:1319
///
ImGuiID DockId
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiID DockId => ref Unsafe.AsRef(&_ptr->DockId);
///
///
/// C++:
/// imgui_internal.h:1320
///
ImGuiWindowClass WindowClass
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiWindowClass WindowClass => ref Unsafe.AsRef(&_ptr->WindowClass);
///
///
/// (Always on) This is not exposed publicly, so we don't clear it and it doesn't have a corresponding flag
/// (could we? for consistency?)
///
///
/// C++:
/// imgui_internal.h:1321
///
ImVec2 MenuBarOffsetMinVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref float2 MenuBarOffsetMinVal => ref Unsafe.AsRef(&_ptr->MenuBarOffsetMinVal);
///
///
/// C++:
/// imgui_internal.h:1322
///
ImGuiWindowRefreshFlags RefreshFlagsVal
///
///
///
///
/// Members below are NOT cleared. Always rely on HasFlags.
///
///
public ref ImGuiWindowRefreshFlags RefreshFlagsVal =>
ref Unsafe.AsRef(&_ptr->RefreshFlagsVal);
}
}