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.

Core Enumeration

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


SrcColor

SrcColor: 768


OneMinusSrcColor

OneMinusSrcColor: 769


SrcAlphaFactor

SrcAlphaFactor: 770


OneMinusSrcAlpha

OneMinusSrcAlpha: 771


DstAlpha

DstAlpha: 772


OneMinusDstAlpha

OneMinusDstAlpha: 773


DstColor

DstColor: 774


OneMinusDstColor

OneMinusDstColor: 775