40 #ifndef _GLS_DISPLAY_LIST_H
41 #define _GLS_DISPLAY_LIST_H
74 ~GlsDisplayList(
void )
86 glDeleteLists( _handle, 1 );
96 _handle = glGenLists( 1 );
101 void Start(
void ) { glNewList( _handle, GL_COMPILE ); }
104 void End(
void ) { glEndList(); }
107 void Invoke(
void ) { glCallList( _handle ); }
115 void Valid(
const bool& val ) { _valid = val; }
121 void UseList(
const bool& val ) { _useList = val; }
unsigned int _handle
Definition: gls_display_list.h:55
void Invalidate(void)
Definition: gls_display_list.h:82
Definition: gls_display_list.h:50
void Start(void)
Definition: gls_display_list.h:101
bool _useList
Definition: gls_display_list.h:54
The disti::DisplayObject class and global enumerations.
void UseList(const bool &val)
Definition: gls_display_list.h:121
bool UseList(void)
Definition: gls_display_list.h:118
bool Valid(void)
Definition: gls_display_list.h:110
void Allocate(void)
Definition: gls_display_list.h:93
bool _valid
Definition: gls_display_list.h:53
void End(void)
Definition: gls_display_list.h:104
void Invoke(void)
Definition: gls_display_list.h:107
Definition: bmpimage.h:46
void Valid(const bool &val)
Definition: gls_display_list.h:115