ReXGlue SDK
Loading...
Searching...
No Matches
rex::ui::Monitor Struct Reference

Public Attributes

i32 index = 0
std::string name
i32 x = 0
i32 y = 0
u32 width = 0
u32 height = 0
f32 refresh_rate = 0
f32 content_scale = 1

Member Data Documentation

◆ content_scale

f32 rex::ui::Monitor::content_scale = 1

Ratio of window pixels to layout size.

◆ height

u32 rex::ui::Monitor::height = 0

Current mode height in pixels.

◆ index

i32 rex::ui::Monitor::index = 0

Index to pass to IWindow::SetMonitor.

◆ refresh_rate

f32 rex::ui::Monitor::refresh_rate = 0

Current mode refresh rate in hertz.

◆ width

u32 rex::ui::Monitor::width = 0

Current mode width in pixels.

◆ x

i32 rex::ui::Monitor::x = 0

Left edge in desktop coordinates.

◆ y

i32 rex::ui::Monitor::y = 0

Top edge in desktop coordinates.


The documentation for this struct was generated from the following file: