 | glBlendFactor Enumeration |
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
SyntaxPublic Enumeration BlendFactor
public enum class BlendFactor
Members
| Member name | Value | Description |
---|
| Zero | 0 |
RColor = 0, RAlpha = 0
|
| One | 1 |
RColor = 1, RAlpha = 1
|
| SrcColor | 768 |
RColor = SColor, RAlpha = SAlpha
|
| OneMinusSrcColor | 769 |
RColor = 1 - SColor, RAlpha = 1 - SAlpha
|
| DstColor | 774 |
RColor = DColor, RAlpha = DAlpha
|
| OneMinusDstColor | 775 |
RColor = 1 - DColor, RAlpha = 1 - DAlpha
|
| SrcAlpha | 770 |
RColor = SAlpha, RAlpha = SAlpha
|
| OneMinusSrcAlpha | 771 |
RColor = 1 - SAlpha, RAlpha = 1 - SAlpha
|
| DstAlpha | 772 |
RColor = DAlpha, RAlpha = DAlpha
|
| OneMinusDstAlpha | 773 |
RColor = 1 - DAlpha, RAlpha = 1 - DAlpha
|
| ConstantColor | 32769 |
RColor = CColor, RAlpha = CAlpha
|
| OneMinusConstantColor | 32770 |
RColor = 1 - CColor, RAlpha = 1 - CAlpha
|
| ConstantAlpha | 32771 |
RColor = CAlpha, RAlpha = CAlpha
|
| OneMinusConstantAlpha | 32772 |
RColor = 1 - CAlpha, RAlpha = 1 - CAlpha
|
| SrcAlphaSaturate | 776 |
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