AbstractProtectedconstructorOptionalisInternalConstructor: booleanReturns the DPI scale factor of the render texture.
Returns the DPI scale factor of the render texture.
Height of the render target, in pixels.
Returns a reference to the window information passed during window creation.
Determines if the window is fullscreen.
Returns true if the render target is a window.
Controls in what order is the render target rendered to compared to other render targets. Targets with higher priority will be rendered before ones with lower priority.
Controls how many samples are used for multisampling. (0 or 1 if multisampling is not used).
Get the screen on which the window is diaplayed.
Width of the render target, in pixels.
Horizontal origin of the window in pixels.
Vertical origin of the window in pixels.
Moves the window so that it is positioned in the center of the current screen.
True if the move was succesful. False if something failed, for example if it can not find current Screen for the window.
Maximizes the window over the entire current screen.
Minimizes the window to the taskbar.
Raises the window to be on top of the other ones as the main active one.
Resize the window to specified width and height in pixels.
Width of the window in pixels.
Height of the window in pixels.
Restores the window to original position and size if it is minimized or maximized.
Switches the window to fullscreen mode. Child windows cannot go into fullscreen mode.
Width of the window frame buffer in pixels.
Height of the window frame buffer in pixels.
OptionalrefreshRate: number
Refresh rate of the window in Hertz.
OptionalmonitorIdx: number
Index of the monitor to go fullscreen on.
OptionaldotsPerInch: number
The dots per inch.
Switches the window to fullscreen mode. Child windows cannot go into fullscreen mode.
Defines the window maximum width and height in pixels.
Defines the window minimum width and height in pixels.
Switches the window to windowed mode. If the optionals are empty, it will use cached values of the screen rectangle before transitioning to fullscreen mode. If those values are missing (i.e. no fullscreen transition was made), it will log a warning.
Optionalwidth: number
Window width in pixels.
Optionalheight: number
Window height in pixels.
Operating system window with a specific position, size and style. Each window serves as a surface that can be rendered into by RenderAPI operations.