//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// A Platform Window (always 1 unless multi-viewport are enabled. One per platform window to output to). In the
/// future may represent Platform Monitor
///
///
/// C++:
/// imgui.h:217
///
struct ImGuiViewport
///
///
///
///
/// Forward declarations: ImGui layer
///
///
[StructLayout(LayoutKind.Explicit, Size = 104)]
public partial struct ImGuiViewport
{
///
///
/// Unique identifier for the viewport
///
///
/// C++:
/// imgui.h:4019
///
ImGuiID ID
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(0)]
public ImGuiID ID;
///
///
/// See ImGuiViewportFlags_
///
///
/// C++:
/// imgui.h:4020
///
ImGuiViewportFlags Flags
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(4)]
public ImGuiViewportFlags Flags;
///
///
/// Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native
/// coordinates)
///
///
/// C++:
/// imgui.h:4021
///
ImVec2 Pos
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(8)]
public float2 Pos;
///
///
/// Main Area: Size of the viewport.
///
///
/// C++:
/// imgui.h:4022
///
ImVec2 Size
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(16)]
public float2 Size;
///
///
/// Density of the viewport for Retina display (always 1,1 on Windows, may be 2,2 etc on macOS/iOS). This
/// will affect font rasterizer density.
///
///
/// C++:
/// imgui.h:4023
///
ImVec2 FramebufferScale
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(24)]
public float2 FramebufferScale;
///
///
/// Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos)
///
///
/// C++:
/// imgui.h:4024
///
ImVec2 WorkPos
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(32)]
public float2 WorkPos;
///
///
/// Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size)
///
///
/// C++:
/// imgui.h:4025
///
ImVec2 WorkSize
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(40)]
public float2 WorkSize;
///
///
/// 1.0f = 96 DPI = No extra scale.
///
///
/// C++:
/// imgui.h:4026
///
float DpiScale
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(48)]
public float DpiScale;
///
///
/// (Advanced) 0: no parent. Instruct the platform backend to setup a parent/child relationship between
/// platform windows.
///
///
/// C++:
/// imgui.h:4027
///
ImGuiID ParentViewportId
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(52)]
public ImGuiID ParentViewportId;
///
///
/// The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to
/// NewFrame().
///
///
/// C++:
/// imgui.h:4028
///
ImDrawData* DrawData
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
[FieldOffset(56)]
public ImDrawDataPtr DrawData;
///
///
/// void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set
/// by your Renderer_CreateWindow function.
///
///
/// C++:
/// imgui.h:4035
///
void* RendererUserData
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(64)]
public nint RendererUserData;
///
///
/// void* to hold custom data structure for the OS / platform (e.g. windowing info, render context).
/// generally set by your Platform_CreateWindow function.
///
///
/// C++:
/// imgui.h:4036
///
void* PlatformUserData
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(72)]
public nint PlatformUserData;
///
///
/// void* to hold higher-level, platform window handle (e.g. HWND for Win32 backend, Uint32 WindowID for
/// SDL, GLFWWindow* for GLFW), for FindViewportByPlatformHandle().
///
///
/// C++:
/// imgui.h:4037
///
void* PlatformHandle
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(80)]
public nint PlatformHandle;
///
///
/// void* to hold lower-level, platform-native window handle (always HWND on Win32 platform, unused for
/// other platforms).
///
///
/// C++:
/// imgui.h:4038
///
void* PlatformHandleRaw
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(88)]
public nint PlatformHandleRaw;
///
///
/// Platform window has been created (Platform_CreateWindow() has been called). This is false during the
/// first frame where a viewport is being created.
///
///
/// C++:
/// imgui.h:4039
///
bool PlatformWindowCreated
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(96)]
public Bool8 PlatformWindowCreated;
///
///
/// Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative
/// position will be OS window position)
///
///
/// C++:
/// imgui.h:4040
///
bool PlatformRequestMove
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(97)]
public Bool8 PlatformRequestMove;
///
///
/// Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative
/// size will be OS window size)
///
///
/// C++:
/// imgui.h:4041
///
bool PlatformRequestResize
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(98)]
public Bool8 PlatformRequestResize;
///
///
/// Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing
/// ALT-F4)
///
///
/// C++:
/// imgui.h:4042
///
bool PlatformRequestClose
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
[FieldOffset(99)]
public Bool8 PlatformRequestClose;
}
///
///
/// A Platform Window (always 1 unless multi-viewport are enabled. One per platform window to output to). In the
/// future may represent Platform Monitor
///
///
/// C++:
/// imgui.h:217
///
struct ImGuiViewport
///
///
///
///
/// Forward declarations: ImGui layer
///
///
public unsafe partial struct ImGuiViewportPtr(ImGuiViewport* ptr) : INullable
{
private ImGuiViewport* _ptr = ptr;
public ImGuiViewport* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiViewportPtr(ImGuiViewport* ptr) => new(ptr);
public static implicit operator ImGuiViewport*(ImGuiViewportPtr wrapper) => wrapper.Ptr;
///
///
/// Unique identifier for the viewport
///
///
/// C++:
/// imgui.h:4019
///
ImGuiID ID
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref ImGuiID ID => ref Unsafe.AsRef(&_ptr->ID);
///
///
/// See ImGuiViewportFlags_
///
///
/// C++:
/// imgui.h:4020
///
ImGuiViewportFlags Flags
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref ImGuiViewportFlags Flags => ref Unsafe.AsRef(&_ptr->Flags);
///
///
/// Main Area: Position of the viewport (Dear ImGui coordinates are the same as OS desktop/native
/// coordinates)
///
///
/// C++:
/// imgui.h:4021
///
ImVec2 Pos
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float2 Pos => ref Unsafe.AsRef(&_ptr->Pos);
///
///
/// Main Area: Size of the viewport.
///
///
/// C++:
/// imgui.h:4022
///
ImVec2 Size
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float2 Size => ref Unsafe.AsRef(&_ptr->Size);
///
///
/// Density of the viewport for Retina display (always 1,1 on Windows, may be 2,2 etc on macOS/iOS). This
/// will affect font rasterizer density.
///
///
/// C++:
/// imgui.h:4023
///
ImVec2 FramebufferScale
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float2 FramebufferScale => ref Unsafe.AsRef(&_ptr->FramebufferScale);
///
///
/// Work Area: Position of the viewport minus task bars, menus bars, status bars (>= Pos)
///
///
/// C++:
/// imgui.h:4024
///
ImVec2 WorkPos
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float2 WorkPos => ref Unsafe.AsRef(&_ptr->WorkPos);
///
///
/// Work Area: Size of the viewport minus task bars, menu bars, status bars (<= Size)
///
///
/// C++:
/// imgui.h:4025
///
ImVec2 WorkSize
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float2 WorkSize => ref Unsafe.AsRef(&_ptr->WorkSize);
///
///
/// 1.0f = 96 DPI = No extra scale.
///
///
/// C++:
/// imgui.h:4026
///
float DpiScale
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref float DpiScale => ref Unsafe.AsRef(&_ptr->DpiScale);
///
///
/// (Advanced) 0: no parent. Instruct the platform backend to setup a parent/child relationship between
/// platform windows.
///
///
/// C++:
/// imgui.h:4027
///
ImGuiID ParentViewportId
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref ImGuiID ParentViewportId => ref Unsafe.AsRef(&_ptr->ParentViewportId);
///
///
/// The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to
/// NewFrame().
///
///
/// C++:
/// imgui.h:4028
///
ImDrawData* DrawData
///
///
///
///
/// - Currently represents the Platform Window created by the application which is hosting our Dear ImGui windows.
/// - With multi-viewport enabled, we extend this concept to have multiple active viewports.
/// - In the future we will extend this concept further to also represent Platform Monitor and support a "no main platform window" operation mode.
/// - About Main Area vs Work Area:
/// - Main Area = entire viewport.
/// - Work Area = entire viewport minus sections used by main menu bars (for platform windows), or by task bar (for platform monitor).
/// - Windows are generally trying to stay within the Work Area of their host viewport.
///
///
public ref ImDrawDataPtr DrawData => ref Unsafe.AsRef(&_ptr->DrawData);
///
///
/// void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set
/// by your Renderer_CreateWindow function.
///
///
/// C++:
/// imgui.h:4035
///
void* RendererUserData
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref nint RendererUserData => ref Unsafe.AsRef(&_ptr->RendererUserData);
///
///
/// void* to hold custom data structure for the OS / platform (e.g. windowing info, render context).
/// generally set by your Platform_CreateWindow function.
///
///
/// C++:
/// imgui.h:4036
///
void* PlatformUserData
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref nint PlatformUserData => ref Unsafe.AsRef(&_ptr->PlatformUserData);
///
///
/// void* to hold higher-level, platform window handle (e.g. HWND for Win32 backend, Uint32 WindowID for
/// SDL, GLFWWindow* for GLFW), for FindViewportByPlatformHandle().
///
///
/// C++:
/// imgui.h:4037
///
void* PlatformHandle
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref nint PlatformHandle => ref Unsafe.AsRef(&_ptr->PlatformHandle);
///
///
/// void* to hold lower-level, platform-native window handle (always HWND on Win32 platform, unused for
/// other platforms).
///
///
/// C++:
/// imgui.h:4038
///
void* PlatformHandleRaw
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref nint PlatformHandleRaw => ref Unsafe.AsRef(&_ptr->PlatformHandleRaw);
///
///
/// Platform window has been created (Platform_CreateWindow() has been called). This is false during the
/// first frame where a viewport is being created.
///
///
/// C++:
/// imgui.h:4039
///
bool PlatformWindowCreated
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref bool PlatformWindowCreated => ref Unsafe.AsRef(&_ptr->PlatformWindowCreated);
///
///
/// Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative
/// position will be OS window position)
///
///
/// C++:
/// imgui.h:4040
///
bool PlatformRequestMove
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref bool PlatformRequestMove => ref Unsafe.AsRef(&_ptr->PlatformRequestMove);
///
///
/// Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative
/// size will be OS window size)
///
///
/// C++:
/// imgui.h:4041
///
bool PlatformRequestResize
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref bool PlatformRequestResize => ref Unsafe.AsRef(&_ptr->PlatformRequestResize);
///
///
/// Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing
/// ALT-F4)
///
///
/// C++:
/// imgui.h:4042
///
bool PlatformRequestClose
///
///
///
///
/// Platform/Backend Dependent Data
/// Our design separate the Renderer and Platform backends to facilitate combining default backends with each others.
/// When our create your own backend for a custom engine, it is possible that both Renderer and Platform will be handled
/// by the same system and you may not need to use all the UserData/Handle fields.
/// The library never uses those fields, they are merely storage to facilitate backend implementation.
///
///
public ref bool PlatformRequestClose => ref Unsafe.AsRef(&_ptr->PlatformRequestClose);
}
}