BlendFactor
class BlendFactor
Defines the factors used in blend operations.
Summary
Constants |
|
|---|---|
const Int |
Constant = 12The blend factor is the blend constant |
const Int |
Dst = 7The blend factor is |
const Int |
DstAlpha = 9The blend factor is |
const Int |
One = 2The blend factor is |
const Int |
OneMinusConstant = 13The blend factor is |
const Int |
OneMinusDst = 8The blend factor is |
const Int |
OneMinusDstAlpha = 10The blend factor is |
const Int |
OneMinusSrc = 4The blend factor is |
const Int |
OneMinusSrc1 = 15The blend factor is |
const Int |
OneMinusSrc1Alpha = 17The blend factor is |
const Int |
OneMinusSrcAlpha = 6The blend factor is |
const Int |
Src = 3The blend factor is |
const Int |
Src1 = 14The blend factor is the second source color |
const Int |
Src1Alpha = 16The blend factor is |
const Int |
SrcAlpha = 5The blend factor is |
const Int |
SrcAlphaSaturated = 11The blend factor is |
const Int |
Undefined = 0Indicates that no blend factor is specified. |
const Int |
Zero = 1The blend factor is |
Constants
OneMinusSrc1
const val OneMinusSrc1 = 15: Int
The blend factor is (1-Rs1, 1-Gs1, 1-Bs1, 1-As1). Requires @see FeatureName.DualSourceBlending.
OneMinusSrc1Alpha
const val OneMinusSrc1Alpha = 17: Int
The blend factor is (1-As1, 1-As1, 1-As1, 1-As1). Requires @see FeatureName.DualSourceBlending.
Src1
const val Src1 = 14: Int
The blend factor is the second source color (Rs1, Gs1, Bs1, As1). Requires
| See also | |
|---|---|
DualSourceBlending |
. |
Src1Alpha
const val Src1Alpha = 16: Int
The blend factor is (As1, As1, As1, As1). Requires @see FeatureName.DualSourceBlending.
SrcAlphaSaturated
const val SrcAlphaSaturated = 11: Int
The blend factor is (f, f, f, 1) where f = min(As, 1 - Ad).