SetFilterType method

Sets the selected filter type for the convolution.

Syntax

HRESULT retVal = object.SetFilterType(eType);

Parameters

  • eType [in]
    Type: [DXCONVFILTERTYPE](aa743746(v=vs.85).md)

    Member of the DXCONVFILTERTYPE enumeration that indicates the selected filter.

Remarks

If you set the filter type to DXCFILTER_SRCCOPY, all other properties that were previously set, such as IDXTConvolution::SetConvertToGray, are ignored.