Export (0) Print
Expand All
Expand Minimize

TextureFilter Enumeration

Defines texture filtering modes for a texture stage.

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

public enum TextureFilter

Member nameDescription
Supported by the .NET Compact FrameworkNoneMipmapping disabled. The rasterizer uses the magnification filter instead.
Supported by the .NET Compact FrameworkPointPoint filtering used as a texture magnification or minification filter. The texel with coordinates nearest to the desired pixel value is used. The texture filter used between mipmap levels is based on the nearest point; that is, the rasterizer uses the color from the texel of the nearest mipmap texture.
Supported by the .NET Compact FrameworkLinearBilinear interpolation filtering used as a texture magnification or minification filter. A weighted average of a 2x2 area of texels (single pixel texture elements) surrounding the desired pixel is used. The texture filter used between mipmap levels is trilinear mipmap interpolation, in which the rasterizer performs linear interpolation on pixel color, using the texels of the two nearest mipmap textures.
Supported by the .NET Compact FrameworkAnisotropicAnisotropic texture filtering used as a texture magnification or minification filter. This type of filtering compensates for distortion caused by the difference in angle between the texture polygon and the plane of the screen.

You can use the CheckDeviceFormat method of a Manager to determine whether a format supports texture filter types other than Point, which is always supported.

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

Community Additions

ADD
Show:
© 2014 Microsoft