Difference between revisions of "love.graphics.checkMode"
Line 8: | Line 8: | ||
{{param|number|width|The display width.}} | {{param|number|width|The display width.}} | ||
{{param|number|height|The display height.}} | {{param|number|height|The display height.}} | ||
− | {{param|boolean|fullscreen|True to check for fullscreen, false for windowed.}} | + | {{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}} |
=== Returns === | === Returns === | ||
{{param|boolean|supported|True if supported, false if not.}} | {{param|boolean|supported|True if supported, false if not.}} |
Revision as of 06:49, 5 December 2012
Checks if a display mode is supported.
Function
Synopsis
supported = love.graphics.checkMode( width, height, fullscreen )
Arguments
number width
- The display width.
number height
- The display height.
boolean fullscreen (false)
- True to check for fullscreen, false for windowed.
Returns
boolean supported
- True if supported, false if not.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info