Skip to main content

Struct ImGuiViewportPtr

Assembly: ImGui.NET.dll
View Source
Declaration
public struct ImGuiViewportPtr

Properties

NativePtr

View Source
Declaration
public readonly ImGuiViewport* NativePtr { get; }

ID

View Source
Declaration
public ref uint ID { get; }

Flags

View Source
Declaration
public ref ImGuiViewportFlags Flags { get; }

Pos

View Source
Declaration
public ref Vector2 Pos { get; }

Size

View Source
Declaration
public ref Vector2 Size { get; }

WorkPos

View Source
Declaration
public ref Vector2 WorkPos { get; }

WorkSize

View Source
Declaration
public ref Vector2 WorkSize { get; }

DpiScale

View Source
Declaration
public ref float DpiScale { get; }

ParentViewportId

View Source
Declaration
public ref uint ParentViewportId { get; }

DrawData

View Source
Declaration
public ImDrawDataPtr DrawData { get; }

RendererUserData

View Source
Declaration
public IntPtr RendererUserData { get; set; }

PlatformUserData

View Source
Declaration
public IntPtr PlatformUserData { get; set; }

PlatformHandle

View Source
Declaration
public IntPtr PlatformHandle { get; set; }

PlatformHandleRaw

View Source
Declaration
public IntPtr PlatformHandleRaw { get; set; }

PlatformRequestMove

View Source
Declaration
public ref bool PlatformRequestMove { get; }

PlatformRequestResize

View Source
Declaration
public ref bool PlatformRequestResize { get; }

PlatformRequestClose

View Source
Declaration
public ref bool PlatformRequestClose { get; }

Methods

Destroy()

View Source
Declaration
public void Destroy()

GetCenter()

View Source
Declaration
public Vector2 GetCenter()
Returns

System.Numerics.Vector2

GetWorkCenter()

View Source
Declaration
public Vector2 GetWorkCenter()
Returns

System.Numerics.Vector2