|
The ilutGLTexImage function binds an image to an OpenGL texture, simply calls glTexImage2D with the current bound image's data and attributes.
| ILboolean ilutGLTexImage( GLuint Level );
|
Parameters | - Level
- Texture level to place the image at. 0 is the base image level, and anything lower is a mipmap. Use ilActiveMipmap to access OpenIL's mipmaps.
|
Errors | - ILUT_ILLEGAL_OPERATION
- The operation attempted is not allowable in the current state. The function returns with no ill side effects.
|
See Also
|