Logo Mibo

WindowMode Type

Window presentation mode.

Fullscreen is an exclusive video-mode switch (raylib FLAG_FULLSCREEN_MODE, MonoGame HardwareModeSwitch = true); the drawn backbuffer can differ from the display size, and pointer coordinates are in display pixels while the viewport is in backbuffer pixels. BorderlessFullscreen keeps the desktop mode and matches the backbuffer to the display, so sizes stay consistent. Prefer it for runtime toggles.

Union cases

Union case Description

BorderlessFullscreen

Full Usage: BorderlessFullscreen

Fullscreen window in the desktop video mode. The backbuffer matches the display, so window sizes and pointer coordinates stay consistent.

Fullscreen

Full Usage: Fullscreen

Exclusive fullscreen with a video-mode switch.

Windowed

Full Usage: Windowed

A regular windowed window.

Instance members

Instance member Description

this.IsBorderlessFullscreen

Full Usage: this.IsBorderlessFullscreen

Returns: bool
Returns: bool

this.IsFullscreen

Full Usage: this.IsFullscreen

Returns: bool
Returns: bool

this.IsWindowed

Full Usage: this.IsWindowed

Returns: bool
Returns: bool

Type something to start searching.