Tao.DevIl SDK Documentation |
|
Il.ilTexImage Method
Any current image data is destroyed by ilTexImage and replaced by a new image with the attributes specified. The new image data has undefined values. To set the new image data to a certain value, use ilClearImage or ilClearImageTo.
Parameters
-
Width
- Specifies the new image width. This cannot be 0.
-
Height
- Specifies the new image height. This cannot be 0.
-
Depth
- Specifies the new image depth. Anything greater than 1 will make the image 3d. This cannot be 0.
-
numChannels
- Specifies the new channels. Common values are 3 and 4.
-
Format
- Specifies the data format this image has. For a list of values this can be, see the See Also section.
-
Type
- Specifies the data format this image has. For a list of values this can be, see the See Also section.
-
Data
- Specifies data that should be copied to the new image. If this parameter is NULL, no data is copied, and the new image data consists of undefined values.
Return Value
See Also
Il Class | Tao.DevIl Namespace