Skip to main content
ID3D11VideoContext::VideoProcessorSetOutputAlphaFillMode method

Sets the alpha fill mode for data that the video processor writes to the render target.

Syntax


void VideoProcessorSetOutputAlphaFillMode(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [in]  D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
  [in]  UINT StreamIndex
);

Parameters

pVideoProcessor [in]

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

AlphaFillMode [in]

The alpha fill mode, specified as a D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE value.

StreamIndex [in]

The zero-based index of an input stream. This parameter is used if AlphaFillMode is D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM. Otherwise, the parameter is ignored.

Return value

This method does not return a value.

Remarks

To find out which fill modes the device supports, call the ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps method. If the driver reports the D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL capability, the driver supports all of the fill modes. Otherwise, the AlphaFillMode parameter must be D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE.

The default fill mode is D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE.

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoContext