Difference between revisions of "love.graphics.getSystemLimits"

(Add argument to synopsis)
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
limits = love.graphics.getSystemLimits( limittype )
+
limits = love.graphics.getSystemLimits( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|GraphicsLimit|limittype|The graphics feature to get the maximum value of.}}
+
None.
 
=== Returns ===
 
=== Returns ===
 
{{param|table|limits|A table containing [[GraphicsLimit]] keys, and number values.}}
 
{{param|table|limits|A table containing [[GraphicsLimit]] keys, and number values.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[GraphicsLimit]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the system-dependent maximum values for love.graphics features.}}
 
{{#set:Description=Gets the system-dependent maximum values for love.graphics features.}}
{{#set:Sub-Category=State}}
+
{{#set:Sub-Category=SystemInfo}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getSystemLimits}}
 
{{i18n|love.graphics.getSystemLimits}}

Latest revision as of 01:59, 17 July 2017

Available since LÖVE 0.10.0
It has replaced love.graphics.getSystemLimit.

Gets the system-dependent maximum values for love.graphics features.

Function

Synopsis

limits = love.graphics.getSystemLimits( )

Arguments

None.

Returns

table limits
A table containing GraphicsLimit keys, and number values.

See Also


Other Languages