Difference between revisions of "BlendMode"

(Undoing the terrible format. Try again with a better look.)
m (Grammar)
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]]|070|type=following choices|plural=y}}
+
{{newin|[[0.7.0]]|070|type=constants|plural=y}}
 
;subtractive: Subtractive blend mode.
 
;subtractive: Subtractive blend mode.
 
;multiplicative: Multiply blend mode.
 
;multiplicative: Multiply blend mode.
{{newin|[[0.8.0]]|080|type=following choice}}
+
{{newin|[[0.8.0]]|080|type=constant}}
 
;premultiplied: Premultiplied blend mode.
 
;premultiplied: Premultiplied blend mode.
{{newin|[[0.9.0]]|090|type=following choice}}
+
{{newin|[[0.9.0]]|090|type=constant}}
 
;replace: Replace blend mode.
 
;replace: Replace blend mode.
 
== See Also ==
 
== See Also ==

Revision as of 05:29, 13 August 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 constants are not supported in earlier versions.
subtractive
Subtractive blend mode.
multiplicative
Multiply blend mode.
Available since LÖVE 0.8.0
This constant is not supported in earlier versions.
premultiplied
Premultiplied blend mode.
Available since LÖVE 0.9.0
This constant is not supported in earlier versions.
replace
Replace blend mode.

See Also

Other Languages