载入中...
搜索中...
未找到
Display settings for window creation/resize. width/height == 0 selects the desktop display mode size. 更多...
#include <Window.h>
Public 属性 | |
| float | refreshrate = 0.0 |
| float | dpi_scale = 1.0 |
| int32_t | x = 0 |
| int32_t | y = 0 |
| uint16_t | width = 1366 |
| uint16_t | height = 768 |
| uint16_t | minwidth = 1 |
| uint16_t | minheight = 1 |
| uint8_t | vsync = 1 |
| uint8_t | msaa = 0 |
| uint8_t | depth = 0 |
| uint8_t | display = 0 |
| bool | borderless = false |
| bool | centered = true |
| bool | high_dpi = true |
| bool | use_dpi_scale = true |
| bool | use_position = false |
| bool | fullscreen = false |
| bool | desktop_mode = true |
| bool | stencil = true |
| bool | resizable = false |
| bool | always_on_top = false |
详细描述
Display settings for window creation/resize. width/height == 0 selects the desktop display mode size.
类成员变量说明
◆ always_on_top
◆ borderless
◆ centered
◆ depth
◆ desktop_mode
◆ display
| uint8_t eve::window::WindowSettings::display = 0 |
◆ dpi_scale
| float eve::window::WindowSettings::dpi_scale = 1.0 |
◆ fullscreen
◆ height
| uint16_t eve::window::WindowSettings::height = 768 |
◆ high_dpi
◆ minheight
◆ minwidth
◆ msaa
◆ refreshrate
◆ resizable
◆ stencil
◆ use_dpi_scale
| bool eve::window::WindowSettings::use_dpi_scale = true |
◆ use_position
| bool eve::window::WindowSettings::use_position = false |
◆ vsync
| uint8_t eve::window::WindowSettings::vsync = 1 |
◆ width
| uint16_t eve::window::WindowSettings::width = 1366 |
◆ x
| int32_t eve::window::WindowSettings::x = 0 |
◆ y
| int32_t eve::window::WindowSettings::y = 0 |
该结构体的文档由以下文件生成:
- src/modules/window/Window.h