Skip to main content
ID3D11VideoContext::VideoProcessorGetStreamAlpha method

Gets the planar alpha for an input stream on the video processor.


void VideoProcessorGetStreamAlpha(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [in]  UINT                 StreamIndex,
  [out] BOOL                 *pEnabled,
  [out] FLOAT                *pAlpha


pVideoProcessor [in]

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

StreamIndex [in]

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

pEnabled [out]

Receives the value TRUE if planar alpha is enabled, or FALSE otherwise.

pAlpha [out]

Receives the planar alpha value. The value can range from 0.0 (transparent) to 1.0 (opaque).

Return value

This method does not return a value.


Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8



See also