DevIL Documentation Home | Previous | Next

ilActiveImage

The ilActiveImage function sets the current image in an animation chain.


ILboolean ilActiveImage(
  ILuint Number
);

Parameters

Number
Animation number to select as current.

Remarks

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

Error Codes

IL_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function. Number could have also been too high.
IL_INTERNAL_ERROR - *Big* problem with DevIL. E-mail Denton with the conditions leading up to the error and pray. =]

See Also

ilGenImages, ilBindImage, ilActiveMipmap, ilActiveLayer