|
ilSetData just updates the current bound image data (bound by ilBindImage) with new data of the same size. This way new memory does not have to be allocated, so transfers are much faster.
| ILboolean ilSetData( ILvoid * Data );
|
Parameters | - Data
- Specifies the new image data to update the image with.
|
Errors | - IL_ILLEGAL_OPERATION
- The operation attempted is not allowable in the current state. The function returns with no ill side effects. Generally there is currently no image bound or it has been deleted via ilDeleteImages. You should use ilGenImages and ilBindImage before calling the function.
- IL_INVALID_PARAM
- Data was NULL.
|
|