Defines blending factors for source and destination colors.
Declaration Syntax
C# |
public enum Blend
Members
Member | Description |
---|---|
Zero |
Each color component is multiplied by (0, 0, 0, 0).
|
One |
Each color component is multiplied by (1, 1, 1, 1).
|
SourceColor |
Each color component is multiplied by the source color: (Rs, Gs, Bs, As).
|
InverseSourceColor |
Each color component is multiplied by the inverse source color: (1 - Rs, 1 - Gs, 1 - Bs, 1 - As).
|
SourceAlpha |
Each color component is multiplied by the alpha of the source color: (As, As, As, As).
|
InverseSourceAlpha |
Each color component is multiplied by the inverse alpha of the source color: (1 - As, 1 - As, 1 - As, 1 - As).
|
DestinationColor |
Each color component is multiplied by the destination color: (Rd, Gd, Bd, Ad).
|
InverseDestinationColor |
Each color component is multiplied by the inverse destination color: (1 - Rd,1 - Gd,1 - Bd,1 - Ad).
|
DestinationAlpha |
Each color component is multiplied by the alpha of the destination color: (Ad, Ad, Ad, Ad).
|
InverseDestinationAlpha |
Each color component is multiplied by the inverse alpha of the destination color: (1 - Ad,1 - Ad,1 - Ad,1 - Ad).
|
BlendFactor |
Each color component is multiplied by a constant blend factor.
|
InverseBlendFactor |
Each color component is muliplied by the inverse of a constant blend factor.
|
SourceAlphaSaturation |
Each color component is multiplied by either the alpha of the source color
or the inverse of the alpha of the source color, whichever is greater: (f, f, f, 1) where
f = min(A, 1 - Ad)
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)