|
| enum class | WindowMode { Windowed
, BorderlessFullscreen
, Fullscreen
} |
| |
|
|
SDL_Window * | window |
| |
|
RGLSwapchainPtr | swapchain |
| |
|
RGLSurfacePtr | surface |
| |
|
RGLFencePtr | swapchainFence |
| |
|
void * | metalLayer |
| |
|
dim_t< int > | windowdims |
| |
|
float | currentScaleFactor = win_scalefactor |
| |
◆ GetDPIScale()
| float RavEngine::Window::GetDPIScale |
( |
| ) |
const |
|
inline |
- Returns
- the High DPI scale factor. Only applicable on macOS.
◆ GetRelativeMouseMode()
| bool RavEngine::Window::GetRelativeMouseMode |
( |
| ) |
|
- Returns
- the current relative mouse mode
◆ SetRelativeMouseMode()
| void RavEngine::Window::SetRelativeMouseMode |
( |
bool |
mode | ) |
|
Set the state of relative mouse mode. If true, the mouse will send events even if outside the application window. If false, the mouse will only send events if inside the application window.
- Parameters
-
◆ SetWindowMode()
| void RavEngine::Window::SetWindowMode |
( |
WindowMode |
mode | ) |
|
Set the video mode
- Parameters
-
The documentation for this struct was generated from the following files:
- RavEngine/include/RavEngine/Window.hpp
- RavEngine/src/Window.cpp