Enum Blend
Blend factors, which modulate values for the pixel shader and render target.
Namespace: Evergine.Common.Graphics
Assembly: Evergine.Common.dll
Syntax
public enum Blend : byte
Fields
Name | Description |
---|---|
BlendFactor | The data source is the blend factor set with BlendStates. No pre-blend operation. |
DestinationAlpha | The data source is alpha data from a rendertarget. No pre-blend operation. |
DestinationColor | The data source is color data from a rendertarget. No pre-blend operation. |
InverseBlendFactor | The data source is the blend factor set with SetBlendState. The pre-blend operation inverts the blend factor, generating 1 - blend_factor. |
InverseDestinationAlpha | The data source is alpha data from a rendertarget. The pre-blend operation inverts the data, generating 1 - A. |
InverseDestinationColor | The data source is color data from a rendertarget. The pre-blend operation inverts the data, generating 1 - RGB. |
InverseSecondarySourceAlpha | The data sources are alpha data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - A. This options supports dual-source color blending. |
InverseSecondarySourceColor | The data sources are both color data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. This options supports dual-source color blending. |
InverseSourceAlpha | The data source is alpha data (A) from a pixel shader. The pre-blend operation inverts the data, generating 1 - A. |
InverseSourceColor | The data source is color data (RGB) from a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. |
One | The data source is the color white (1, 1, 1, 1). No pre-blend operation. |
SecondarySourceAlpha | The data sources are alpha data output by a pixel shader. There is no pre-blend operation. This options supports dual-source color blending. |
SecondarySourceColor | The data sources are both color data output by a pixel shader. There is no pre-blend operation. This options supports dual-source color blending. |
SourceAlpha | The data source is alpha data (A) from a pixel shader. No pre-blend operation. |
SourceAlphaSaturate | The data source is alpha data from a pixel shader. The pre-blend operation clamps the data to 1 or less. |
SourceColor | The data source is color data (RGB) from a pixel shader. No pre-blend operation. |
Zero | The data source is the color black (0, 0, 0, 0). No pre-blend operation. |