다음을 통해 공유


TextureFilter 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)

Syntax

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

Members

Member name Description
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.
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 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.

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

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework