BlendMode.this

Construct the blend mode given the factors and equation.

  1. this(Factor sourceFactor, Factor destinationFactor, Equation blendEquation = Equation.Add)
  2. this(Factor colorSourceFactor, Factor colorDestinationFactor, Equation colorBlendEquation, Factor alphaSourceFactor, Factor alphaDestinationFactor, Equation alphaBlendEquation)

Parameters

colorSourceFactor
Type: Factor

Specifies how to compute the source factor for the color channels

colorDestinationFactor
Type: Factor

Specifies how to compute the destination factor for the color channels

colorBlendEquation
Type: Equation

Specifies how to combine the source and destination colors

alphaSourceFactor
Type: Factor

Specifies how to compute the source factor

alphaDestinationFactor
Type: Factor

Specifies how to compute the destination factor

alphaBlendEquation
Type: Equation

Specifies how to combine the source and destination alphas

Meta