libER 0.1.4.2
ELDEN RING API library
|
The singleton responsible for managing the game window and graphics settings. More...
#include <window.hpp>
Classes | |
struct | graphics_settings |
Public Types | |
enum class | screen_mode : int { window = 0 , fullscreen = 1 , borderless_window = 2 } |
The window screen mode. | |
enum class | quality_level : int { off = 0 , low = 1 , medium = 2 , high = 3 , max = 4 } |
The quality of a graphics_settings entry. | |
Public Member Functions | |
window_handle_type | get_window_handle () const |
Return a Win32 API window handle for the main Elden Ring game window. | |
window_position_type | get_window_position () const |
Return a read-only view of the window position (if the game is in windowed mode) | |
window_size_type | get_window_size () const |
Return a read-only view of the window width and height. | |
bool | is_window_fullscreen () const |
Check if the window is currently full screen. | |
bool | is_window_focused_previous () const |
Check if the window was focused on the previous frame. | |
bool | is_window_focused () const |
Check if the window is currently focused. | |
graphics_settings & | get_graphics_settings () |
Return the current graphics quality settings. | |
const graphics_settings & | get_graphics_settings () const |
Return the current graphics quality settings. | |
void | set_graphics_settings (const graphics_settings &graphics_settings) |
Set the graphics quality settings. | |
![]() | |
virtual LIBERAPI DLRF::DLRuntimeClass * | get_runtime_class () noexcept |
Get the runtime class object. | |
The singleton responsible for managing the game window and graphics settings.
|
inline |
Check if the window is currently full screen.
This is always true in fullscreen mode and false otherwise