PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE callback function

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

Syntax

PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE Pfnd3d111DdiVideoprocessorsetoutputalphafillmode;

void Pfnd3d111DdiVideoprocessorsetoutputalphafillmode(
   D3D10DDI_HDEVICE,
   D3D11_1DDI_HVIDEOPROCESSOR,
   D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE,
   UINT
)
{...}

Parameters

D3D10DDI_HDEVICE

D3D11_1DDI_HVIDEOPROCESSOR

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE

UINT

Return Value

This callback function does not return a value.

Remarks

The driver reports its ability to support alpha fill modes in the D3D11_1DDI_VIDEO_PROCESSOR_CAPS structure that is returned through the GetVideoProcessorCaps function. If the driver supports the D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL capability, it supports all of the alpha fill modes that are defined by the D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE enumeration. Otherwise, the FillMode parameter must be set to D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE.

Note If the driver does not support the D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL capability, the Microsoft Direct3D runtime does not call the VideoProcessorSetOutputAlphaFillMode function.
The default fill mode is D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE.

Requirements

   
Windows version Windows 8 Windows 8
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CreateVideoProcessor

GetVideoProcessorCaps

CreateVideoProcessorInputView

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE

D3D11_1DDI_VIDEO_PROCESSOR_CAPS

Send comments about this topic to Microsoft