Determines if a name corresponds to a texture.
OpenGL C bindings library: libGL.a
GLboolean glIsTextureEXT( GLuint texture )
texture | A value which might be the name of a texture. |
glIsTextureEXT returns GL_TRUE if texture is currently the name of a texture. If texture is zero, or is a non-zero value that is not currently the name of a texture, or if an error occurs, glIsTextureEXT returns GL_FALSE.
glIsTextureEXT is not included in display lists.
glIsTextureEXT is part of the EXT_texture_object extension, not part of the core GL command set. If GL_EXT_texture_object is included in the string returned by glGetString, when called with argument GL_EXTENSIONS, extension EXT_texture_object is supported by the connection.
GL_INVALID_OPERATION is generated if glIsTextureEXT is executed between the execution of glBegin and the corresponding execution of glEnd.
/usr/include/GL/glext.h | Contains extensions to C language constants, variable type definitions, and ANSI function prototypes for OpenGL. |
The glBindTextureEXT subroutine, glDeleteTexturesEXT subroutine, glGenTexturesEXT subroutine, glGet subroutine, glGetTexParameter subroutine, glTexImage1D subroutine, glTexImage2D subroutine, glTexParameter subroutine.