Table of Contents

getRes

Get the width, height, and bitdepth of the screen.

Syntax

string getRes();

Parameters

This function does not accept any parameters.

Return value

string
No description available.

Remarks

Examples

Source

Engine

See also

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

References

GlassLive::enterRoomDragMode: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:536
GlassLiveDrag::onMouseUp: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:596
GlassLiveDrag::onMouseUp: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:597
GlassLiveDrag::onMouseUp: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:600
GlassLiveDrag::onMouseUp: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:601
GlassLive::positionMessageReminder: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:959
GlassLive::positionMessageReminder: Add-Ons/System_BlocklandGlass/client/GlassLive.cs:959
GlassOverlayGui::onWake: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:9
GlassOverlayGui::onWake: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:10
GlassOverlayGui::onWake: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:67
GlassOverlayGui::onWake: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:68
GlassOverlayGui::onWake: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:70
GlassOverlay::updateButtonAlignment: Add-Ons/System_BlocklandGlass/client/GlassOverlay.cs:120
GlassSettings::init: Add-Ons/System_BlocklandGlass/client/GlassSettings.cs:21
Glass::execClient: Add-Ons/System_BlocklandGlass/client.cs:101
OptGraphicsResolutionMenu::onSelect: base/client/scripts/allClientScripts.cs:3981
wrenchEventsDlg::onWake: base/client/scripts/allClientScripts.cs:20519
GameModeGui::CreateListItems: base/client/scripts/allClientScripts.cs:26541
CustomGameGui::AddAdvancedGuiElement: base/client/scripts/allClientScripts.cs:27795
CustomGameGui::AddAdvancedGuiElement: base/client/scripts/allClientScripts.cs:27795