DevIL Documentation | Home | Previous | Next |
The ilGetData function returns a pointer to the current image's data.
ILubyte *ilGetData(
ILvoid
);
None
ilGetData returns an unsigned byte pointer to the current bound image's data to allow direct access and modification to the contents of the image.
IL_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.
ilGenImages, ilBindImage, ilGetPalette, ilCopyPixels