D3DDDIARG_SETCONVOLUTIONKERNELMONO structure (d3dumddi.h)

The D3DDDIARG_SETCONVOLUTIONKERNELMONO structure describes parameters for setting the monochrome convolution kernel.

Syntax

typedef struct _D3DDDIARG_SETCONVOLUTIONKERNELMONO {
  [in] UINT  Width;
  [in] UINT  Height;
  [in] FLOAT *pKernelRow;
  [in] FLOAT *pKernelCol;
} D3DDDIARG_SETCONVOLUTIONKERNELMONO;

Members

[in] Width

The width, which is the resolution of the filter kernel in the horizontal direction. Valid values for this member are from 1 to 7.

[in] Height

The height, which is the resolution of the filter kernel in the vertical direction. Valid values for this member are from 1 to 7.

[in] pKernelRow

A pointer to weights in the horizontal direction of a separable filter. In Microsoft Direct3D 9.L and later, pKernelRow must be NULL, which indicates that all of the weights are 1.0.

[in] pKernelCol

A pointer to weights in the vertical direction of a separable filter. In Direct3D 9.L and later, pKernelCol must be NULL, which indicates that all of the weights are 1.0.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

SetConvolutionKernelMono