Files Classes Functions Hierarchy
#include <gobjbase.h>
Public Member Functions | |
| gobjglCallList (T listid_) | |
| The id is assumed to be valid. | |
| void | draw () |
| Draw the compiled list. | |
Public Attributes | |
| T | listid |
| The list id. | |
gobjglCallList is templated to be used to either contain the listName or reference the listName. ie gobjglCallList<GLuint> or gobjglCallList<GLuint&>.
glCallList evaluates the display list pointed to by listName.
Definition at line 101 of file gobjbase.h.
| gobjglCallList< T >::gobjglCallList | ( | T | listid_ | ) | [inline] |
The id is assumed to be valid.
Definition at line 109 of file gobjbase.h.
00110 : listid(listid_) {}
| void gobjglCallList< T >::draw | ( | ) | [inline, virtual] |
Draw the compiled list.
Implements gobj.
Definition at line 113 of file gobjbase.h.
References GOBJDEBUGCODE, and gobjglCallList< T >::listid.
00114 { GOBJDEBUGCODE glCallList(listid); }
| T gobjglCallList< T >::listid |
1.5.8