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).
Width of the render target, in pixels.
Horizontal origin of the window in pixels.
Vertical origin of the window in pixels.
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: numberRefresh rate of the window in Hertz.
OptionalmonitorIdx: numberIndex of the monitor to go fullscreen on.
OptionaldotsPerInch: numberThe dots per inch.
Switches the window to fullscreen mode. Child windows cannot go into fullscreen mode.
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: numberWindow width in pixels.
Optionalheight: numberWindow 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.