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 | |
---|---|---|
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. | |
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. | |
None | Mipmapping disabled. The rasterizer uses the magnification filter instead. | |
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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Microsoft.WindowsMobile.DirectX.Direct3D Namespace