DevIL Documentation | Home | Previous | Next |
The ilutGetPaddedData function gets a copy of the current image's data, padded more than your sister's bra.
ILubyte *ilutGetPaddedData(
ILvoid
);
None
ilutGetPaddedData gets a copy of the current image's data, but pads it to be DWORD-aligned, just how Windows likes it. Almost all Windows functions that use images expect the images to be DWORD-aligned. The caller is responsible for freeing the memory returned by ilutGetPaddedData.
ILUT_ILLEGAL_OPERATION - There is currently no image bound. Use ilGenImages and ilBindImage before calling this function.