Difference between revisions of "love.graphics.setBlendMode"

m (1 revision: Importing from potato (again).)
(Enumerate blend modes)
Line 1: Line 1:
 
 
Sets the blending mode.
 
Sets the blending mode.
 
== Function ==
 
== Function ==
Line 7: Line 6:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|BlendMode|mode|The blend mode to use.}}
+
{{param|BlendMode|mode|The blend mode to use. One of "alpha", "additive", "subtractive", "multiplicative".}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.

Revision as of 02:49, 30 October 2010

Sets the blending mode.

Function

Synopsis

love.graphics.setBlendMode( mode )

Arguments

BlendMode mode
The blend mode to use. One of "alpha", "additive", "subtractive", "multiplicative".

Returns

Nothing.

See Also