DevIL Documentation Previous | ILUT | Next

 

ilutGetPaddedData

 

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.

 

ILvoid ilutGetPaddedData(
  ILvoid );


Parameters

 

None


Errors

 
ILUT_ILLEGAL_OPERATION
The operation attempted is not allowable in the current state. The function returns with no ill side effects.

See Also

 
ilBindImage, ilGenImages,