GraphicsDeviceManager.HardwareModeSwitch Property (Microsoft.Xna.Framework)

Gets or sets the boolean which defines how window switches from windowed to fullscreen state. "Hard" mode(true) is slow to switch, but more effecient for performance, while "soft" mode(false) is vice versa. The default value is true.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public bool HardwareModeSwitch { get; set; }

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Property Value

Type: System.Boolean
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop