glIsList.3G man page

glIsList — determine if a name corresponds to a display list

C Specification

GLboolean glIsList(GLuint list);

Parameters

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

glCallList(), glCallLists(), glDeleteLists(), glGenLists(), glNewList()

Authors

opengl.org

Info

02/04/2016 opengl.org OpenGL Manual