Difference between revisions of "love.graphics.getSupported"

(Created page)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{newin|[[0.10.0]]|100|type=function|text=It has replaced [[love.graphics.isSupported]]}}
 
{{newin|[[0.10.0]]|100|type=function|text=It has replaced [[love.graphics.isSupported]]}}
 
Gets the optional graphics features and whether they're supported on the system.
 
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 ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: 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