|
The ilOverlayImage function copies the image named by Src onto the current bound image. XCoord, YCoord and ZCoord are allowed to be any number, even negative numbers, for if you want to start copying Src in the middle of it to the current image's left side. If the image named by Src has alpha components, then blending will occur, instead of just a simple overlay.
| ILboolean ilOverlayImage( ILuint Src, ILuint XCoord, ILuint YCoord, ILuint ZCoord );
|
Parameters | - Src
- The image to copy.
- XCoord
- The starting x position of the current image to copy Src to.
- YCoord
- The starting y position of the current image to copy Src to.
- ZCoord
- The starting z position of the current image to copy Src to.
|
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.
|
See Also
|