DevIL Documentation Home | Previous | Next

ilActiveLayer

The ilActiveLayer function sets the current image layer.


ILboolean ilActiveLayer(
  ILuint Number
);

Parameters

Number
Layer number to select as current.

Remarks

ilActiveLayer is not yet used.

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 OpenIL. E-mail DooMWiz with the conditions leading up to the error and pray. =]

See Also

ilGenImages, ilBindImage, ilActiveImage, ilActiveMipmap