Difference between revisions of "BlendMode"

Line 1: Line 1:
 +
{{newin|[[0.2.0]]|020|type=enum}}
 
Different ways you do alpha blending.
 
Different ways you do alpha blending.
 
== Constants ==
 
== Constants ==
 
;additive: Additive blend mode.
 
;additive: Additive blend mode.
 
;alpha: Alpha blend mode ('normal').
 
;alpha: Alpha blend mode ('normal').
;subtractive: Subtractive blend mode. ([[0.7.0]]+ only)
+
{{newin|[[0.7.0]]|type=following choices|plural=y}}
;multiplicative: Multiply blend mode. ([[0.7.0]]+ only)
+
;subtractive: Subtractive blend mode.
 +
;multiplicative: Multiply blend mode.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 +
* [[love.graphics.setBlendMode]]
 +
* [[love.graphics.getBlendMode]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Different ways you do alpha blending.}}
 
{{#set:Description=Different ways you do alpha blending.}}
{{#set:Since=000}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|BlendMode}}
 
{{i18n|BlendMode}}

Revision as of 23:18, 23 November 2011

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.

See Also

Other Languages