glIsList

determine if a name corresponds to a display list

Signature

glIsList( GLuint ( list ) )-> GLboolean
glIsList( list ) -> <class 'ctypes.c_ubyte'>

Parameters

VariablesDescription
list
Specifies a potential display list name.

Description

glIsList returns GL_TRUE if list is the name of a display list and returns GL_FALSE if it is not, or if an error occurs.
A name returned by glGenLists , but not yet associated with a display list by calling glNewList , is not the name of a display list.

Errors

GL_INVALID_OPERATION is generated if glIsList is executed between the execution of glBegin and the corresponding execution of glEnd .

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.

glIsList
{LGPL} PyUI2 system/openglgraphics.py Lines: 54