class RenderWindowProperties

Contains various properties that describe a render window.

Public

Constructors

RenderWindowProperties

RenderWindowProperties() = default

Methods

~RenderWindowProperties

virtual ~RenderWindowProperties() noexcept = default

Fields

IsFullScreen

bool IsFullScreen

True if window is running in fullscreen mode.

Left

i32 Left

Horizontal origin of the window in pixels.

Top

i32 Top

Vertical origin of the window in pixels.

HasFocus

bool HasFocus

Indicates whether the window currently has keyboard focus.

IsHidden

bool IsHidden

True if the window is hidden.

IsModal

bool IsModal

True if the window is modal (blocks interaction with any non-modal window until closed).

IsMaximized

bool IsMaximized

True if the window is maximized.

IsMinimized

bool IsMinimized

True if the window is minimized.

Vsync

bool Vsync

True if the render target will wait for vertical sync before swapping buffers.

This will eliminate tearing but may increase input latency.

VsyncInterval

u32 VsyncInterval

Controls how often should the frame be presented in respect to display device refresh rate.

Normal value is 1 where it will match the refresh rate. Higher values will decrease the frame rate (for example present interval of 2 on 60Hz refresh rate will display at most 30 frames per second).