VideoMode

Undocumented in source.

Constructors

this
this(uint modeWidth, uint modeHeight, uint modeBitsPerPixel)

Construct the video mode with its attributes.

Members

Functions

isValid
bool isValid()

Tell whether or not the video mode is valid.

toString
string toString()

Returns a string representation of the video mode.

Static functions

getDesktopMode
VideoMode getDesktopMode()

Get the current desktop video mode.

getFullscreenModes
VideoMode[] getFullscreenModes()

Retrieve all the video modes supported in fullscreen mode.

Variables

bitsPerPixel
uint bitsPerPixel;

Video mode pixel depth, in bits per pixels.

height
uint height;

Video mode height, in pixels.

width
uint width;

Video mode width, in pixels.

Meta