OpenGLContext.displaylist
index
p:\openglcontext\displaylist.py

Holder for a single display-list

 
Modules
            
Numeric
 
Classes
            
object
DisplayList
 
class DisplayList(object)
      Holder for an OpenGL compiled display list
 
This object holds onto a display list until the
object is deleted.  It provides start and end
methods for the list-definition phase and a
default call method for execution.
 
   Methods defined here:
__call__(self)
Call (execute) the display-list
 
See:
        glCallList
__del__(self, glDeleteLists=<built-in function glDeleteLists>)
Clean up the OpenGL display-list resources
 
See:
        glDeleteLists
__init__(self)
Initialize the display list
 
See:
        glGenLists
end(self)
Finish defining the display-list
 
See:
        glEndList
start(self, mode=4864)
Start defining the display-list
 
mode can be either:
        GL_COMPILE or GL_COMPILE_AND_EXECUTE
See:
        glNewList

Data and non-method functions defined here:
__doc__ = 'Holder for an OpenGL compiled display list\n\n\tThi...phase and a\n\tdefault call method for execution.\n\t'
__getstate__ = <built-in function __getstate__>
__module__ = 'OpenGLContext.displaylist'
__slots__ = ('list', '__weakref__')
__weakref__ = <member '__weakref__' of 'DisplayList' objects>
list = <member 'list' of 'DisplayList' objects>

Methods inherited from object:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__hash__(...)
x.__hash__() <==> hash(x)
__reduce__(...)
helper for pickle
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__str__(...)
x.__str__() <==> str(x)

Data and non-method functions inherited from object:
__class__ = <type 'type'>
__new__ = <built-in method __new__ of type object at 0x1E0BD978>
T.__new__(S, ...) -> a new object with type S, a subtype of T