Sets the alpha fill mode for data that the video processor writes to the render target.
public:
void VideoProcessorSetOutputAlphaFillMode(
ID3D11VideoProcessor *pVideoProcessor,
D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode,
UINT StreamIndex
)
pVideoProcessor
Type: ID3D11VideoProcessorĀ *
[in] A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.
AlphaFillMode
Type: D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODEĀ
[in] The alpha fill mode, specified as a D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE value.
StreamIndex
Type: UINTĀ
[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.
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.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).