Light | Dark

glIsList

Name

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.

Think you can improve this page? Edit this page on GitHub.