H3D API
2.4.1
|
This abstract interface class is the base class for all node types that wants to create an OpenGL display list for the OpenGL calls it makes in its render() function. More...
#include <H3D/H3DDisplayListObject.h>
Classes | |
class | DisplayList |
We use the Field's lazy evaluation mechanisms to manage the GL display lists for rendering, giving automatic cache breaking when dependencies are modified. More... | |
Public Member Functions | |
H3DDisplayListObject (Inst< DisplayList > _displayList=0) | |
Constructor. | |
Public Attributes | |
H3DUniquePtr< DisplayList > | displayList |
The DisplayList instance handling the OpenGL caching of this object. | |
This abstract interface class is the base class for all node types that wants to create an OpenGL display list for the OpenGL calls it makes in its render() function.
Subclasses should set the owner and name of the displayList field. Fields can be routed to the displayList field in order to break the cache and create a new display list when values have changed. In order to make use of the display list the callList() function of the displayList field should be called instead of the render() function.