CONST_D3DXENUM
Defines miscellaneous Direct3DX flags, including image filters.
Enum CONST_D3DXENUM
    D3DX_FILTER_NONE     =      0
    D3DX_FILTER_POINT    =      1
    D3DX_FILTER_LINEAR   =      2
    D3DX_FILTER_TRIANGLE =      3
    D3DX_FILTER_BOX      =      4
    D3DX_FILTER_MIRROR_U =  65536 (&H10000)
    D3DX_FILTER_MIRROR_V = 131072 (&H20000)
    D3DX_FILTER_MIRROR   = 196608 (&H30000)
    D3DX_FILTER_DITHER   = 524288 (&H80000)
    D3DX_DEFAULT         =     -1 (&HFFFFFFFF)
End Enum
Constants
- D3DX_FILTER_NONE
- No scaling or filtering will take place. Pixels outside the bounds of the source image are assumed to be transparent black.
- D3DX_FILTER_POINT
- Each destination pixel is computed by sampling the nearest pixel from the source image.
- D3DX_FILTER_LINEAR
- Each destination pixel is computed by linearly interpolating between the nearest pixels in the source image. This filter works best when the scale on each axis is less than 2.
- D3DX_FILTER_TRIANGLE
- Every pixel in the source image contributes equally to the destination image. This is the slowest of the filters.
- D3DX_FILTER_BOX
- Each pixel is computed by averaging a 2×2(×2) 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.
- D3DX_FILTER_MIRROR_U
- Indicates that the pixels off the edge of the texture on the u-axis should be mirrored, not wrapped.
- D3DX_FILTER_MIRROR_V
- Indicates that the pixels off the edge of the texture on the v-axis should be mirrored, not wrapped.
- D3DX_FILTER_MIRROR
- Specifying this flag is the same as specifying both the D3DX_FILTER_MIRROR_U and D3DX_FILTER_MIRROR_V flags.
- D3DX_FILTER_DITHER
- Dither the resulting image using a 4x4 ordered dither algorithm.D3DX_DEFAULT
- Predefined value that can be used for a parameter that is an enumerated value or a handle. The documentation indicates wherever D3DX_DEFAULT may be used, and how it will be interpreted in each situation.
Remarks
Each valid filter must contain exactly one of the following flags. 
	- D3DX_FILTER_BOX
- D3DX_FILTER_LINEAR
- D3DX_FILTER_NONE
- D3DX_FILTER_POINT
- D3DX_FILTER_TRIANGLE
In addition, you can use the OR operator to specify zero or more of the following optional flags with a valid filter. 
	- D3DX_FILTER_MIRROR
- D3DX_FILTER_MIRROR_U
- D3DX_FILTER_MIRROR_V
See Also
D3DX8.FilterCubeTexture, D3DX8.FilterTexture, D3DX8.LoadSurfaceFromFile, D3DX8.LoadSurfaceFromFileInMemory, D3DX8.LoadSurfaceFromMemory, D3DX8.LoadSurfaceFromSurface