MonoGameWindow Type
The MonoGame IWindow: drives the host's GraphicsDeviceManager. Registered by the runtime hosts.
Constructors
| Constructor |
Description
|
Full Usage:
MonoGameWindow(graphics, minWidth, minHeight)
Parameters:
GraphicsDeviceManager
minWidth : int
minHeight : int
Returns: MonoGameWindow
|
|
Instance members
| Instance member |
Description
|
|
Per-frame window bookkeeping: outside exclusive fullscreen, resizes the backbuffer when the client area changes (clamped to the minimum size), then tracks the backbuffer size in the context dimensions. The context tracks the BACKBUFFER, not the client area: in exclusive fullscreen the two differ, and the backbuffer is what the pipelines draw to. Exclusive fullscreen owns its backbuffer size, so the resize step is skipped there. No-op while minimized (a zero client area is not a valid backbuffer).
|
Static members
| Static member |
Description
|
Full Usage:
MonoGameWindow.ApplyConfig(config, game, graphics)
Parameters:
GameConfig
game : Game
graphics : GraphicsDeviceManager
|
Translates the window-management fields of a GameConfig to window and device settings. Runs before the DeviceConfig callbacks, which can still override.
|
Mibo