Resolutions (OpScript)
======================

.. lua:module:: ResolutionTable

.. lua:function:: HasResolution(string resolutionName) -> boolean
.. lua:function:: GetResolution(string resolutionName) -> ResolutionEntry
.. lua:function:: FindResolution(number xRes, number yRes, number aspectRatio) -> ResolutionEntry
.. lua:function:: ExtractValidResolutionName(string str) -> string
.. lua:function:: GetGroups() -> table<string>
.. lua:function:: GetEntries() -> table<ResolutionEntry>
.. lua:function:: GetEntriesForGroup(string groupName) -> table<ResolutionEntry>

.. lua:class:: ResolutionEntry()

    .. lua:method:: getName() -> string
    .. lua:method:: getFullName() -> string
    .. lua:method:: getProxyName() -> string
    .. lua:method:: getGroupName() -> string
    .. lua:method:: getXRes() -> number
    .. lua:method:: getYRes() -> number
    .. lua:method:: getAspectRatio() -> number