Difference between revisions of "love.graphics.setColorMode"

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

Revision as of 18:13, 3 February 2012

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

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

Function

Synopsis

love.graphics.setColorMode( mode )

Arguments

ColorMode mode
The color mode to use.

Returns

Nothing.

See Also

Other Languages