Click or drag to resize

glBlendFactor Enumeration

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public enum BlendFactor
Members
  Member nameValueDescription
Zero0 RColor = 0, RAlpha = 0
One1 RColor = 1, RAlpha = 1
SrcColor768 RColor = SColor, RAlpha = SAlpha
OneMinusSrcColor769 RColor = 1 - SColor, RAlpha = 1 - SAlpha
DstColor774 RColor = DColor, RAlpha = DAlpha
OneMinusDstColor775 RColor = 1 - DColor, RAlpha = 1 - DAlpha
SrcAlpha770 RColor = SAlpha, RAlpha = SAlpha
OneMinusSrcAlpha771 RColor = 1 - SAlpha, RAlpha = 1 - SAlpha
DstAlpha772 RColor = DAlpha, RAlpha = DAlpha
OneMinusDstAlpha773 RColor = 1 - DAlpha, RAlpha = 1 - DAlpha
ConstantColor32769 RColor = CColor, RAlpha = CAlpha
OneMinusConstantColor32770 RColor = 1 - CColor, RAlpha = 1 - CAlpha
ConstantAlpha32771 RColor = CAlpha, RAlpha = CAlpha
OneMinusConstantAlpha32772 RColor = 1 - CAlpha, RAlpha = 1 - CAlpha
SrcAlphaSaturate776 RColor = Min(SAlpha, 1 - DAlpha), RAlpha = 1
Remarks
In the descriptions of the items, the following terms are used:
  • SColor: source color (R, G and B values)
  • SAlpha: source alpha
  • DColor: destination color
  • DAlpha: destination alpha
  • RColor: resulting color
  • RAlpha: resulting alpha
  • CColor: constant color, as specified using BlendColor(Color4)
  • CAlpha: constant alpha, as specified using BlendColor(Color4)
See Also