// d3d12umddi.h
typedef struct D3D12DDI_VIDEO_PROCESS_ALPHA_BLENDING_0020 {
BOOL Enable;
FLOAT Alpha;
} D3D12DDI_VIDEO_PROCESS_ALPHA_BLENDING_0020;
View the official Windows Driver Kit DDI referenceNo description available.
Specifies whether alpha blending is enabled and, if so, the planar alpha value.
EnableSpecifies whether alpha blending is enabled.
AlphaThe planar alpha value. The value can range from 0.0 (transparent) to 1.0 (opaque). If the Enable member is false, this value is ignored.
For each pixel, the destination color value is computed as the following:
Cd = Cs * (As * Ap * Ae) + Cd * (1.0 - As * Ap * Ae)
The variables in this equation are as follows: