DevIL Documentation Previous | IL | Next

 

ilActiveImage

 

ilActiveImage sets the current image to be an image in an animation chain

 

ILboolean ilActiveImage(
  ILuint Number );


Parameters

 
Number
Animation numer 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

 
ilActiveLayer, ilActiveMipmap, ilBindImage, ilGenImages,