Pascal
procedure tsImageCreate(pImageID: ptsImageID);
C/C++
void tsImageCreate(tsImageID * pImageID);
This will create an new and empty imageobject. This can be used to load some files from disk or to create an image. The created image will be bound to the active context. Please make sure that you destroys all created images.
In this Pointer the ID of the created image will be saved.
If there was no context bound.
The creation of the image object failed with an out of memory error.
This will happen if you pass nil / NULL to this function.
There was an unknown error. Please inform me in which case this happens.