ID3D11VideoContext::VideoProcessorSetOutputAlphaFillMode method (d3d11.h)

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

[in] pVideoProcessor

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

[in] AlphaFillMode

The alpha fill mode, specified as a D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE value.

[in] StreamIndex

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

None

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.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext