Gl.IsList (gb.opengl)

Static Function IsList ( Index As Integer ) As Boolean

Determine if a name corresponds to a display list.

Parameters

list

Specifies a potential display list name.

Description

Gl.IsList 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 Gl.GenLists, but not yet associated with a display list by calling Gl.NewList, is not the name of a display list.

Errors

Gl.INVALID_OPERATION is generated if Gl.IsList is executed between the execution of Gl.Begin and the corresponding execution of Gl.End.

See also

See original documentation on OpenGL website