love.graphics.checkMode (简体中文)

Checks if a display mode is supported. 检查是否支持这种显示模式.

Function

Synopsis

supported = love.graphics.checkMode( width, height, fullscreen )

Arguments

number width
显示宽度.
number height
显示高度.
boolean fullscreen
是否是全屏

Returns

boolean supported
支持返回true.不支持返回false

See Also


Other Languages