Difference between revisions of "love.graphics.getMode"

m
m
 
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=function}} {{oldin|[[0.9.0]]|090|type=function|text=Moved to the [[love.window]] module as [[love.window.getMode]]}}
+
{{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 ==

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