Blend Enum
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Blend option. A blend option identifies the data source and an optional pre-blend operation.
[DataContract]
public enum Blend
Remarks
Blend options are specified in a
Fields
| Name | Description |
|---|---|
| BlendFactor | The data source is the blend factor set with |
| 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 |
| 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. |