40 #ifndef _GLS_DISPLAY_LIST_H
41 #define _GLS_DISPLAY_LIST_H
87 glDeleteLists(_handle,1);
97 _handle = glGenLists(1);
102 void Start(
void) { glNewList(_handle,GL_COMPILE); }
105 void End(
void) { glEndList(); }
108 void Invoke(
void) { glCallList(_handle); }
116 void Valid(
const bool &val) { _valid = val; }
122 void UseList(
const bool &val) { _useList = val; }
unsigned int _handle
Definition: gls_display_list.h:56
void Invalidate(void)
Definition: gls_display_list.h:83
Definition: gls_display_list.h:51
void Start(void)
Definition: gls_display_list.h:102
bool _useList
Definition: gls_display_list.h:55
The disti::DisplayObject class and global enumerations.
void UseList(const bool &val)
Definition: gls_display_list.h:122
bool UseList(void)
Definition: gls_display_list.h:119
bool Valid(void)
Definition: gls_display_list.h:111
void Allocate(void)
Definition: gls_display_list.h:94
bool _valid
Definition: gls_display_list.h:54
void End(void)
Definition: gls_display_list.h:105
void Invoke(void)
Definition: gls_display_list.h:108
Definition: bmpimage.h:46
void Valid(const bool &val)
Definition: gls_display_list.h:116