Previous: glIsSync Table of Contents (GL) Next: glIsTransformFeedback

glIsTexture

determine if a name corresponds to a texture

Signature

glIsTexture( GLuint ( texture ) )-> GLboolean
glIsTexture( texture ) -> <class 'ctypes.c_ubyte'>

Parameters

VariablesDescription
texture
Specifies a value that may be the name of a texture.

Description

glIsTexture 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, glIsTexture returns GL_FALSE .
A name returned by glGenTextures , but not yet associated with a texture by calling glBindTexture , is not the name of a texture.

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glIsTexture
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 827
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 828
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/Display3D.py Lines: 463
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 517
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/Display3D.py Lines: 463
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 517
Visvis core/line.py Lines: 174
Visvis core/baseTexture.py Lines: 202, 219, 330
Previous: glIsSync Table of Contents (GL) Next: glIsTransformFeedback