OSSingleton.getScreenSize

Returns the dimensions in pixels of the specified screen. If screen is /code-1/code (the default value), the current screen will be used.

struct OSSingleton
@nogc nothrow const
Vector2
getScreenSize
(
in long screen = -1
)

Meta