Difference between revisions of "BlendMode"

m
Line 10: Line 10:
 
;premultiplied: Premultiplied blend mode.
 
;premultiplied: Premultiplied blend mode.
 
{{newin|[[0.9.0]]|090|type=following choice}}
 
{{newin|[[0.9.0]]|090|type=following choice}}
;none: none blend mode.
+
;replace: replace blend mode.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 02:32, 25 May 2013

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

Different ways you do alpha blending.

Constants

additive
Additive blend mode.
alpha
Alpha blend mode ('normal').
Available since LÖVE 0.7.0
These following choices are not supported in earlier versions.
subtractive
Subtractive blend mode.
multiplicative
Multiply blend mode.
Available since LÖVE 0.8.0
This following choice is not supported in earlier versions.
premultiplied
Premultiplied blend mode.
Available since LÖVE 0.9.0
This following choice is not supported in earlier versions.
replace
replace blend mode.

See Also

Other Languages