H3D API  2.4.1
Classes | Public Member Functions | Public Attributes | List of all members
H3D::H3DDisplayListObject Class Reference

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>

Inheritance diagram for H3D::H3DDisplayListObject:
Inheritance graph

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< DisplayListdisplayList
 The DisplayList instance handling the OpenGL caching of this object.
 

Detailed Description

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.


The documentation for this class was generated from the following files: