Filter Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines texture filtering modes for a texture stage.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

public enum Filter

Member nameDescription
Supported by the .NET Compact FrameworkBoxEach pixel is computed by averaging a 2x2(x2) box of pixels from the source image. This filter works only when the dimensions of the destination are half those of the source, as is the case with mipmaps.
Supported by the .NET Compact FrameworkPointEach destination pixel is computed by sampling the nearest pixel from the source image.
Supported by the .NET Compact FrameworkLinearBilinear interpolation filtering is used as a texture magnification or minification filter. A weighted average of a 2x2 area of texels surrounding the desired pixel is used. The texture filter to use between mipmap levels is trilinear mipmap interpolation. The rasterizer interpolates pixel color in a linear manner, using the texels of the two nearest textures.
Supported by the .NET Compact FrameworkNoneMipmapping disabled. The rasterizer uses the magnification filter instead.
Supported by the .NET Compact FrameworkMirrorUPixels off the edge of the texture on the u-axis should be mirrored, not wrapped.
Supported by the .NET Compact FrameworkMirrorVPixels off the edge of the texture on the v-axis should be mirrored, not wrapped.
Supported by the .NET Compact FrameworkMirrorSame as specifying the MirrorU and MirrorV flags. This flag is always used internally for this function.

Each valid filter must contain exactly one of the following flags: None, Point, Linear, or Box. In addition, the bitwise OR operator can be used to specify zero or more of the following optional flags with a valid filter: MirrorU or MirrorV, or Mirror.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0