Filter Enumeration
.NET Framework 3.0
Defines texture filtering modes for a texture stage.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
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. |
![]() | 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. |
![]() | Mirror | Same as specifying the MirrorU and MirrorV flags. This flag is always used internally for this function. |
![]() | 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. |
![]() | None | Mipmapping disabled. The rasterizer uses the magnification filter instead. |
![]() | Point | Each destination pixel is computed by sampling the nearest pixel from the source image. |
Community Additions
ADD
Show:
