This documentation is archived and is not being maintained.
Filter Enumeration
Visual Studio 2008
Defines texture filtering modes for a texture stage.
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
| Member name | Description | |
|---|---|---|
![]() | Box | Each pixel is computed by averaging a 2x2(x2) box of pixels from the source image. This filter works only when the dimensions of the destination are half those of the source, as is the case with mipmaps. |
![]() | Point | Each destination pixel is computed by sampling the nearest pixel from the source image. |
![]() | Linear | Bilinear interpolation filtering is used as a texture magnification or minification filter. A weighted average of a 2x2 area of texels surrounding the desired pixel is used. The texture filter to use between mipmap levels is trilinear mipmap interpolation. The rasterizer interpolates pixel color in a linear manner, using the texels of the two nearest textures. |
![]() | None | Mipmapping disabled. The rasterizer uses the magnification filter instead. |
![]() | MirrorU | Pixels off the edge of the texture on the u-axis should be mirrored, not wrapped. |
![]() | MirrorV | Pixels off the edge of the texture on the v-axis should be mirrored, not wrapped. |
![]() | Mirror | Same as specifying the MirrorU and MirrorV flags. This flag is always used internally for this function. |
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.
Show:
