TextureFilter Enumeration

Defines texture filtering modes for a texture stage.

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

Syntax

'Declaration
Public Enumeration TextureFilter
'Usage
Dim instance As TextureFilter
public enum TextureFilter
public enum class TextureFilter
public enum TextureFilter
public enum TextureFilter

Members

  Member name Description
Supported by the .NET Compact Framework Anisotropic Anisotropic 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. 
Supported by the .NET Compact Framework Linear Bilinear 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 Framework None Mipmapping disabled. The rasterizer uses the magnification filter instead. 
Supported by the .NET Compact Framework Point Point 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. 

Remarks

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.

Platforms

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

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

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming