Difference between revisions of "BlendMode"

m
Line 4: Line 4:
 
;additive: Additive blend mode.
 
;additive: Additive blend mode.
 
;alpha: Alpha blend mode ('normal').
 
;alpha: Alpha blend mode ('normal').
{{newin|[[0.7.0]]|type=following choices|plural=y}}
+
{{newin|[[0.7.0]]|070|type=following choices|plural=y}}
 
;subtractive: Subtractive blend mode.
 
;subtractive: Subtractive blend mode.
 
;multiplicative: Multiply blend mode.
 
;multiplicative: Multiply blend mode.
{{newin|[[0.8.0]]|type=following choice}}
+
{{newin|[[0.8.0]]|080|type=following choice}}
 
;premultiplied: Premultiplied blend mode.
 
;premultiplied: Premultiplied blend mode.
 
== See Also ==
 
== See Also ==

Revision as of 13:10, 4 May 2012

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.

See Also

Other Languages