Table of Contents

setScreenMode

( int width, int height, int bpp, bool fullScreen, int hz = 60 )

Syntax

bool setScreenMode(int %width, int %height, int %bpp, bool %fullScreen[, int %hz = 60]);

Parameters

int %width
No description available.

int %height
No description available.

int %bpp
No description available.

bool %fullScreen
No description available.

[optional] int %hz = 60
No description available.

Return value

bool
No description available.

Remarks

Examples

Source

Engine

See also

getDisplayDeviceList
getRes
getResolutionList
getVideoDriverInfo
isDeviceFullScreenOnly
isFullScreen
nextResolution
prevResolution
setDisplayDevice
setRes
setVerticalSync
switchBitDepth
toggleFullScreen
videoSetGammaCorrection

References

optionsDlg::applyGraphics: base/client/scripts/allClientScripts.cs:4143
optionsDlg::applyGraphics: base/client/scripts/allClientScripts.cs:4148