Difference between revisions of "love.graphics.setColorMode"

m
(See Also)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{oldin|[[0.9.0]]|090|type=function}}
+
{{newinoldin|[[0.2.0]]|020|[[0.9.0]]|090|type=function}}
 
Sets the color mode (which controls how images are affected by the current color).
 
Sets the color mode (which controls how images are affected by the current color).
 
== Function ==
 
== Function ==
Line 13: Line 13:
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
* [[love.graphics.getColorMode]]
 
* [[love.graphics.getColorMode]]
 +
* [[love.graphics.setBlendMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the color mode (which controls how images are affected by the current color).}}
 
{{#set:Description=Sets the color mode (which controls how images are affected by the current color).}}
Line 18: Line 19:
 
{{#set:Since=020}}
 
{{#set:Since=020}}
 
{{#set:PrettySince=[[0.2.0]]}}
 
{{#set:PrettySince=[[0.2.0]]}}
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.setColorMode}}
 
{{i18n|love.graphics.setColorMode}}

Latest revision as of 20:28, 23 October 2021

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.

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