101 bool render(
const int a_displayContext,
const bool a_useDisplayList);
104 bool begin(
const int a_displayContext,
const bool a_useDisplayList);
107 void end(
const int a_displayContext,
const bool a_executeDisplayList);
cDisplayList()
Constructor of cDisplayList.
Definition: CDisplayList.cpp:63
This class provides support for OpenGL display lists.
Definition: CDisplayList.h:76
void end(const int a_displayContext, const bool a_executeDisplayList)
This method finalizes the creation of a display list.
Definition: CDisplayList.cpp:215
~cDisplayList()
Destructor of cDisplayList.
Definition: CDisplayList.cpp:79
bool render(const int a_displayContext, const bool a_useDisplayList)
This method renders the display list.
Definition: CDisplayList.cpp:114
Implements option settings for CHAI3D.
bool m_flagMarkedForDeletion[C_MAX_DISPLAY_CONTEXTS]
If true, then the display list should be deleted from display context.
Definition: CDisplayList.h:126
bool begin(const int a_displayContext, const bool a_useDisplayList)
This method begins the creation of a display list.
Definition: CDisplayList.cpp:156
unsigned int m_displayList[C_MAX_DISPLAY_CONTEXTS]
OpenGL display list.
Definition: CDisplayList.h:120
void invalidate()
This method invalidates the current display list. Request for update.
Definition: CDisplayList.cpp:91
Definition: CAudioBuffer.cpp:56
bool m_flagCreatingDisplayList[C_MAX_DISPLAY_CONTEXTS]
If true, then the display list is currently in the process of being created.
Definition: CDisplayList.h:123
unsigned int getDisplayListGL(const int a_displayContext)
This method returns the OpenGL display list number.
Definition: CDisplayList.h:110