DirectXAlphaMode
DirectXAlphaMode
DirectXAlphaMode
DirectXAlphaMode
Enum
Definition
Identifies the alpha value, transparency behavior, of a surface. This is a managed version of the DXGI_APLAHA_MODE enumeration.
public : enum class DirectXAlphaModepublic enum DirectXAlphaModePublic Enum DirectXAlphaMode// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Fields
| Ignore Ignore Ignore Ignore | Indicates to ignore the transparency behavior. |
| Premultiplied Premultiplied Premultiplied Premultiplied | Indicates that the transparency behavior is premultiplied. Each color is first scaled by the alpha value. The alpha value itself is the same in both straight and premultiplied alpha. Typically, no color channel value is greater than the alpha channel value. If a color channel value in a premultiplied format is greater than the alpha channel, the standard source-over blending math results in an additive blend. |
| Straight Straight Straight Straight | Indicates that the transparency behavior is not premultiplied. The alpha channel indicates the transparency of the color. |
| Unspecified Unspecified Unspecified Unspecified | Indicates that the transparency behavior is not specified. |