Enum DxgiAlphaMode
Identifies the alpha value, transparency behavior, of a surface.
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public enum DxgiAlphaMode
Fields
Name | Description |
---|---|
Ignore | Indicates to ignore the transparency behavior. |
Premultiplied | Indicates that the transparency behavior is pre-multiplied. Each color is first scaled by the alpha value. The alpha value itself is the same in both straight and pre-multiplied alpha. Typically, no color channel value is greater than the alpha channel value. If a color channel value in a pre-multiplied format is greater than the alpha channel, the standard source-over blending math results in an additive blend. |
Straight | Indicates that the transparency behavior is not pre-multiplied. The alpha channel indicates the transparency of the color. |
Unspecified | Indicates that the transparency behavior is not specified. |