D3DImagePresentationTargetEnableAlpha Property |
Namespace: DigitalRune.Graphics.Interop
An alpha channel is required for transparency effects. If EnableAlpha is , the 3D image is opaque and overwrites any WPF elements in the background. If EnableAlpha is , the 3D image can contain transparent pixels. Transparent parts are blended with other WPF elements in the background.
Changing this property invalidates the content and the 3D image needs to be re-rendered.
Important: WPF requires premultiplied alpha, which means that the color values in the 3D image needs to be multiplied by the alpha value!