GetVideoMode /Application and system

videoMode GetVideoMode(uint n)

Returns the supported video mode n.

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);
}