Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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
public enum TextureFilter
public enum TextureFilter
 Member nameDescription
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. 
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 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. 

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 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.

.NET Compact Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.