BlendingFactor
The following constants can be used for sfactor and dfactor. The formula for the blending color can be described like this: color(RGBA) = (sourceColor * sfactor) + (destinationColor * dfactor). The RBGA values are between 0 and 1.
Enumeration Members
Zero
Zero: 0
One
One: 1
Src Color
SrcColor: 768
One Minus Src Color
OneMinusSrcColor: 769
Src Alpha Factor
SrcAlphaFactor: 770
One Minus Src Alpha
OneMinusSrcAlpha: 771
Dst Alpha
DstAlpha: 772
One Minus Dst Alpha
OneMinusDstAlpha: 773
Dst Color
DstColor: 774
One Minus Dst Color
OneMinusDstColor: 775
The following constants can be used for sfactor and dfactor. The formula for the blending color can be described like this: color(RGBA) = (sourceColor * sfactor) + (destinationColor * dfactor). The RBGA values are between 0 and 1.