|
ilActiveMipmap sets a mipmap of the image as the current mipmap. Currently, the only way to generate mipmaps is by calling iluBuildMipmaps. If neither function has been called for the current image, no mipmaps exist for it. If Number is 0, then the current base image is set.
| ILboolean ilActiveMipmap( ILuint Number );
|
Parameters | - Number
- Mipmap level to select as current.
|
Errors | - IL_ILLEGAL_OPERATION
- The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.
- IL_INTERNAL_ERROR
- A serious error has occurred. Please e-mail an admin with the conditions leading up to this error being reported.
|
See Also
|