GetVideoModeCount /Application and system

uint GetVideoModeCount()

Returns the number of supported video modes.

The snippet above lists all supported video modes:

for (uint t = 0; t < GetVideoModeCount(); t++)
{
    videoMode mode = GetVideoMode(t);
    print("width: "  + mode.width);
    print("height: " + mode.height);
}