glDeleteLists

delete a contiguous group of display lists

Signature

glDeleteLists( GLuint ( list ) , GLsizei ( range ) )-> void
glDeleteLists( list , range )

Parameters

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

Description

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 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 glDeleteLists is executed between the execution of glBegin and the corresponding execution of glEnd .

See Also

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glDeleteLists
OpenGLContext OpenGLContext/displaylist.py Lines: 45, 45, 53
OpenGLContext OpenGLContext/scenegraph/text/wxfont.py Lines: 107
OpenGLContext OpenGLContext/scenegraph/text/font.py Lines: 180
OpenGLContext tests/glprint.py Lines: 59
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson13.py Lines: 88
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 44
{Artistic License} PymmLib pymmlib/mmLib/OpenGLDriver.py Lines: 94
{LGPL} PyUI2 renderers/openglGlut.py Lines: 79
{LGPL} PyUI2 renderers/openglPygame.py Lines: 60
{LGPL} PyUI2 renderers/openglSoya.py Lines: 57
{LGPL} PyUI2 system/openglgraphics.py Lines: 56
{LGPL} Pyggel pyggel/data.py Lines: 224
{LGPL or GPL or MPL} Kamaelia Code/Python/Kamaelia/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 526
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Kamaelia/UI/OpenGL/OpenGLDisplay.py Lines: 513
{LGPL or GPL or MPL} Kamaelia Sketches/CL/Topology3D/THF/Sketches/playground/Display3D.py Lines: 218
{LGPL or GPL or MPL} Kamaelia Sketches/THF/3D/playground/Display3D.py Lines: 218

MathML Rendering

Powered by MathJax