ezEngine  Release 25.03
ezWindowMode Struct Reference

Determines how the position and resolution for a window are picked. More...

#include <Window.h>

Inheritance diagram for ezWindowMode:

Public Types

enum  Enum {
  WindowFixedResolution, WindowResizable, FullscreenBorderlessNativeResolution, FullscreenFixedResolution,
  Default = WindowFixedResolution
}
 
using StorageType = ezUInt8
 

Static Public Member Functions

static constexpr bool IsFullscreen (Enum e)
 Returns whether the window covers an entire monitor. This includes borderless windows and proper fullscreen modes.
 

Detailed Description

Determines how the position and resolution for a window are picked.

Member Enumeration Documentation

◆ Enum

Enumerator
WindowFixedResolution 

The resolution and size are what the user picked and will not be changed. The window will not be resizable.

WindowResizable 

The resolution and size are what the user picked and will not be changed. Allows window resizing by the user.

FullscreenBorderlessNativeResolution 

A borderless window, the position and resolution are taken from the monitor on which the window shall appear.

FullscreenFixedResolution 

A fullscreen window using the user provided resolution. Tries to change the monitor resolution accordingly.


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