Gl.DeleteLists (gb.opengl)

Static Sub DeleteLists ( Index As Integer, Range As Integer )

Delete a contiguous group of display lists.

Parameters

list

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

Specifies the number of display lists to delete.

Description

Gl.DeleteLists 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 d with list < d < 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.

Errors

Gl.INVALID_VALUE is generated if range is negative.

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

See also

See original documentation on OpenGL website