glIsList

The gllsList function tests for display list existence.

GLboolean glIsList(
  GLuint list
);

Parameters

list
A potential display list name.

Remarks

The gllsList function returns GL_TRUE if list is the name of a display list and returns GL_FALSE otherwise.

Error Codes

The following is the error code and its condition.

Error code Condition
GL_INVALID_OPERATION glIsList was called between a call to glBegin and the corresponding call to glEnd.

Requirements

  Windows NT/2000: Requires Windows NT 3.5 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Gl.h.
  Library: Use Opengl32.lib.

See Also

glBegin, glCallList, glCallLists, glDeleteLists, glEnd, glGenLists, glNewList


  

Community Additions

Show: