Attributes
Members list
Type members
Classlikes
Enumeration of the blending equations.
Enumeration of the blending equations.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Enumeration of the blending factors.
Enumeration of the blending factors.
Attributes
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Default constructor.
Default constructor.
Constructs a blending mode that does alpha blending.
Attributes
Construct the blend mode given the factors and equation.
Construct the blend mode given the factors and equation.
This constructor uses the same factors and equation for both color and alpha components. It also defaults to the Add equation.
Value parameters
- blendEquation
-
Specifies how to combine the source and destination colors and alpha.
- destinationFactor
-
Specifies how to compute the destination factor for the color and alpha channels.
- sourceFactor
-
Specifies how to compute the source factor for the color and alpha channels.
Attributes
Construct the blend mode given the factors and equation.
Construct the blend mode given the factors and equation.
Value parameters
- alphaBlendEquation
-
Specifies how to combine the source and destination alphas.
- alphaDestinationFactor
-
Specifies how to compute the destination factor.
- alphaSourceFactor
-
Specifies how to compute the source factor.
- colorBlendEquation
-
Specifies how to combine the source and destination colors.
- colorDestinationFactor
-
Specifies how to compute the destination factor for the color channels.
- colorSourceFactor
-
Specifies how to compute the source factor for the color channels.