Difference between revisions of "love.graphics.getColorMode"

m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{newin|[[0.2.0]]|020|type=function}}
+
{{newinoldin|[[0.2.0]]|020|[[0.9.0]]|090|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 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]]
 
* [[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).}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getColorMode}}
 
{{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