Difference between revisions of "love.graphics.getMode"
(getMode!) |
m |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.getMode]]}} |
Returns the current display mode. | Returns the current display mode. | ||
== Function == | == Function == | ||
Line 14: | Line 14: | ||
{{param|boolean|vsync|True if vertical sync is enabled or false if disabled.}} | {{param|boolean|vsync|True if vertical sync is enabled or false if disabled.}} | ||
{{param|number|fsaa|The number of FSAA samples.}} | {{param|number|fsaa|The number of FSAA samples.}} | ||
+ | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
+ | * [[love.graphics.setMode]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Returns the current display mode.}} | {{#set:Description=Returns the current display mode.}} | ||
− | {{#set: | + | {{#set:Sub-Category=Window}} |
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.getMode}} | {{i18n|love.graphics.getMode}} |
Latest revision as of 18:27, 27 December 2015
Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 |
Moved to the love.window module as love.window.getMode. |
Returns the current display mode.
Function
Synopsis
width, height, fullscreen, vsync, fsaa = love.graphics.getMode( )
Arguments
None.
Returns
number width
- Display width.
number height
- Display height.
boolean fullscreen
- Fullscreen (true) or windowed (false).
boolean vsync
- True if vertical sync is enabled or false if disabled.
number fsaa
- The number of FSAA samples.
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