Microsoft DirectX 8.0 (Visual Basic) |
Filters mipmap levels of a texture.
object.FilterTexture( _ Texture As Direct3DTexturep8, _ Palette As Any, _ SrcLevel As Long, _ MipFilter As Long)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
For more information on PALETTEENTRY see the Microsoft Platform Software Development Kit (SDK). Note that as of Microsoft DirectX® 8.0, the peFlags member of the PALETTEENTRY structure does not work the way it is documented in the Platform SDK. The peFlags member is now the alpha channel for 8-bit palletized formats.
Box-filter is recursively applied to each texture level to generate the next texture level.