Difference between revisions of "love.graphics.getColorMode"

Line 1: Line 1:
 
{{newin|[[0.2.0]]|020|type=function}}
 
{{newin|[[0.2.0]]|020|type=function}}
Gets the color mode.
+
Gets the color mode (which controls how images are affected by the current color).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[love.graphics.setColorMode]]
 
* [[love.graphics.setColorMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the color mode.}}
+
{{#set:Description=Gets the color mode (which controls how images are affected by the current color).}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getColorMode}}
 
{{i18n|love.graphics.getColorMode}}

Revision as of 18:13, 3 February 2012

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

Gets the color mode (which controls how images are affected by the current color).

Function

Synopsis

mode = love.graphics.getColorMode( )

Arguments

None.

Returns

ColorMode mode
The current blend mode.

See Also

Other Languages