Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE unnamedParam3,
UINT unnamedParam4
)
{...}
Parameters
unnamedParam1
hDevice [in]
A handle to the display device (graphics context).
unnamedParam2
hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
unnamedParam3
FillMode [in]
The alpha fill mode, specified as a D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE value. For more information, see the Remarks section.
unnamedParam4
StreamIndex [in]
The zero-based index of an input stream. This parameter is used if the AlphaFillMode parameter is set to D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM. Otherwise, the parameter is ignored.
Return value
None
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |
See also
D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE