Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]
GL

Method GL.glDeleteLists()


Method glDeleteLists

void GL.glDeleteLists(int list, int range)

Description

GL.glDeleteLists causes a contiguous group of display lists to be deleted. list is the name of the first display list to be deleted, and range is the number of display lists to delete. All display lists \fId\fP with list \(<= \fId\fP \(<= list + range - 1 are deleted.

All storage locations allocated to the specified display lists are freed, and the names are available for reuse at a later time. Names within the range that do not have an associated display list are ignored. If range is 0, nothing happens.

Parameter list

Specifies the integer name of the first display list to delete.

Parameter range

Specifies the number of display lists to delete.

Throws

GL_INVALID_VALUE is generated if range is negative.

GL_INVALID_OPERATION is generated if GL.glDeleteLists is executed between the execution of GL.glBegin and the corresponding execution of GL.glEnd.