Difference between revisions of "love.graphics.getSupported"

m (Undo revision 17441 by Greenwing (talk) same mean...oops!)
m
 
Line 17: Line 17:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Gets the optional graphics features and whether they're supported.}}
 
{{#set:Description=Gets the optional graphics features and whether they're supported.}}
{{#set:Sub-Category=State}}
+
{{#set:Sub-Category=SystemInfo}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getSupported}}
 
{{i18n|love.graphics.getSupported}}

Latest revision as of 01:59, 17 July 2017

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

Gets the optional graphics features and whether they're supported on the system.

Some older or low-end systems don't always support all graphics features.

Function

Synopsis

features = love.graphics.getSupported( )

Arguments

None.

Returns

table features
A table containing GraphicsFeature keys, and boolean values indicating whether each feature is supported.

See Also


Other Languages