Difference between revisions of "love.graphics.checkMode"
m (Updated oldin) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{oldin|[[0.9.0]]|090|type=function}} | ||
+ | |||
Checks if a display mode is supported. | Checks if a display mode is supported. | ||
== Function == | == Function == | ||
Line 8: | Line 10: | ||
{{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.}} | ||
Line 16: | Line 18: | ||
{{#set:Description=Checks if a display mode is supported.}} | {{#set:Description=Checks if a display mode is supported.}} | ||
{{#set:Since=000}} | {{#set:Since=000}} | ||
+ | {{#set:Sub-Category=Window}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.checkMode}} | {{i18n|love.graphics.checkMode}} |
Latest revision as of 21:43, 19 September 2013
Removed in LÖVE 0.9.0 |
This function is not supported in that and later versions. |
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