VideoProcessorSetOutputAlphaFillMode function
Sets the alpha fill mode for data that the video processor writes to the render target.
Syntax
VOID APIENTRY* VideoProcessorSetOutputAlphaFillMode( _In_ D3D10DDI_HDEVICE hDevice, _In_ D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor, _In_ D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE FillMode, _In_ UINT StreamIndex );
Parameters
- hDevice [in]
-
A handle to the display device (graphics context).
- hVideoProcessor [in]
-
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
- FillMode [in]
-
The alpha fill mode, specified as a D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE value. For more information, see the Remarks section.
- 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
This 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
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Header |
|
See also
- CreateVideoProcessor
- CreateVideoProcessorInputView
- D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE
- D3D11_1DDI_VIDEO_PROCESSOR_CAPS
- GetVideoProcessorCaps
Send comments about this topic to Microsoft
Build date: 11/29/2012
