Difference between revisions of "love.graphics.isSupported"

(Changed to GraphicsFeature.)
m
Line 18: Line 18:
 
{{#set:Description=Checks for the support of graphics related functions.}}
 
{{#set:Description=Checks for the support of graphics related functions.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.isSupported}}
 
{{i18n|love.graphics.isSupported}}

Revision as of 00:57, 29 March 2013

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Checks if certain graphics functions can be used.

Older and low-end systems do not always support all graphics extensions.

Function

Synopsis

isSupported = love.graphics.isSupported( support1, support2, support3, ... )

Arguments

GraphicsFeature supportN
The graphics feature to check for.

Returns

boolean isSupported
True if everything is supported, false otherwise.

See Also


Other Languages