Method GL.glIsList()


Method glIsList

int glIsList(int list)

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.

Parameter list

Specifies a potential display list name.

Throws

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