Enum Blend
Defines the type of operation to perform while blending colors.
Namespace: Gorgon.Graphics.Core
Assembly: Gorgon.Graphics.Core.dll
Syntax
public enum Blend
Fields
Name | Description |
---|---|
BlendFactor | The blend factor is the blend factor set with ID3D11DeviceContext::OMSetBlendState. No pre-blend operation. |
DestinationAlpha | The blend factor is (A A A A), that is alpha data from a render target. No pre-blend operation. |
DestinationColor | The blend factor is (R, G, B, A), that is color data from a render target. No pre-blend operation. |
InverseBlendFactor | The blend factor is the blend factor set with ID3D11DeviceContext::OMSetBlendState. The pre-blend operation inverts the blend factor, generating 1 - blend_factor. |
InverseDestinationAlpha | The blend factor is (1 - A 1 - A 1 - A 1 - A), that is alpha data from a render target. The pre-blend operation inverts the data, generating 1 - A. |
InverseDestinationColor | The blend factor is (1 - R, 1 - G, 1 - B, 1 - A), that is color data from a render target. The pre-blend operation inverts the data, generating 1 - RGB. |
InverseSecondarySourceAlpha | The blend factor is data sources as alpha data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - A. This blend factor supports dual-source color blending. |
InverseSecondarySourceColor | The blend factor is data sources both as color data output by a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. This blend factor supports dual-source color blending. |
InverseSourceAlpha | The blend factor is ( 1 - Aₛ, 1 - Aₛ, 1 - Aₛ, 1 - Aₛ), that is alpha data (A) from a pixel shader. The pre-blend operation inverts the data, generating 1 - A. |
InverseSourceColor | The blend factor is (1 - Rₛ, 1 - Gₛ, 1 - Bₛ, 1 - Aₛ), that is color data (RGB) from a pixel shader. The pre-blend operation inverts the data, generating 1 - RGB. |
One | The blend factor is (1, 1, 1, 1). No pre-blend operation. |
SecondarySourceAlpha | The blend factor is data sources as alpha data output by a pixel shader. There is no pre-blend operation. This blend factor supports dual-source color blending. |
SecondarySourceColor | The blend factor is data sources both as color data output by a pixel shader. There is no pre-blend operation. This blend factor supports dual-source color blending. |
SourceAlpha | The blend factor is (Aₛ, Aₛ, Aₛ, Aₛ), that is alpha data (A) from a pixel shader. No pre-blend operation. |
SourceAlphaSaturate | The blend factor is (f, f, f, 1); where f = min(Aₛ, 1 - A). The pre-blend operation clamps the data to 1 or less. |
SourceColor | The blend factor is (Rₛ, Gₛ, Bₛ, Aₛ), that is color data (RGB) from a pixel shader. No pre-blend operation. |
Zero | The blend factor is (0, 0, 0, 0). No pre-blend operation. |