Window

Summary

Definition

Namespace: SDT4.Managed.Windowing
Assembly: SDT4.Managed.Windowing.dll

sealed class Window
Inheritance:

ObjectWindow

Implements:

IDisposable

Fields

Name Type Description

Properties

Name Type Description
public get; NativeWindow IntPtr
public get; WindowMonitor Monitor The monitor that the window resides in.
This is NULL if the window is not in fullscreen mode!
public get; set; Size Vector2f Size of the window in pixels
public get; FramebufferSize Vector2f The renderable framebuffer region of the window in pixels
public get; set; Position Vector2f Position of the window relative to the workspace
public get; set; Borderless Boolean If the window has the title bar visible or not.
public get; set; Resizable Boolean If the window has the title bar visible or not.

Size Remarks

Warning

Do not use for determining the size of the renderable region. Use to determine appropriate renderable regions for render targets.

Methods

public Void Maximize()

Summary

Maximises the window


public Void Minimize()

Summary

Minimises the window


public Void Restore()

Summary

Restores the window after minimisation.


public Void Close()

Summary

Closes window immediately


public Void SetMonitor(Monitor? monitor, VideoMode mode)

Summary

Sets the fullscreen display monitor with the specified window mode. If monitor is NULL then it will revert to windowed mode.

Parameters:


public Void Dispose()