Difference between revisions of "love.graphics.getColorMode"

m (1 revision: Imported docs from potato.)
m
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
+
{{newinoldin|[[0.2.0]]|020|[[0.9.0]]|090|type=function}}
 
+
Gets the color mode (which controls how images are affected by the current color).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 9: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|ColorMode|mode|The current blend mode.}}
+
{{param|ColorMode|mode|The current color mode.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.setColorMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Gets the color mode (which controls how images are affected by the current color).}}
 +
{{#set:Sub-Category=State}}
 +
== Other Languages ==
 +
{{i18n|love.graphics.getColorMode}}

Latest revision as of 18:18, 27 December 2015

Available since LÖVE 0.2.0 and removed in LÖVE 0.9.0
This function is not supported in earlier or later 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 color mode.

See Also


Other Languages