GetGraphicsMode
This function returns the resolution of a supported graphics mode. Call System::CountGraphicsModes() to get the number of available screen resolutions, and then use this command to query the dimensions of each supported resolution.
Syntax
- iVec2 GetGraphicsMode(number index)
Parameters
- index: the index of the graphics mode to return the resolution of. Graphics mode indexes are numbered from zero to CountGraphicsModes()-1.
Returns
Returns an iVec2 object containing the width and height of the supported graphics resolution.