D3D12DDI_VIDEO_PROCESS_ALPHA_BLENDING_0020 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddi_video_process_alpha_blending_0020)

D3D12DDI_VIDEO_PROCESS_ALPHA_BLENDING_0020 structure

Description

Specifies whether alpha blending is enabled and, if so, the planar alpha value.

Members

Enable

Specifies whether alpha blending is enabled.

Alpha

The 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.

Remarks

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: