#include <gls_display_list.h>
The GlsDisplayList class. Manages an OpenGL display list.
◆ Allocate()
Allocate an OpenGL display list, deallocating any existing list
◆ End()
Stop writing into the display list and save it
◆ Invalidate()
Invalidate the display list. An object with an invalid display list should reinvoke its draw code to rebuild the display list. Also deallocates the OpenGL list.
◆ Invoke()
Draw what's in the display list
◆ operator=()
Assignment operator
- Parameters
-
oldClass | The list to copy from. |
- Returns
- The resulting list (this).
◆ Start()
Start writing into the display list
◆ UseList() [1/2]
- Returns
- True if this display list is enabled.
◆ UseList() [2/2]
void UseList |
( |
const bool & |
val | ) |
|
|
inline |
Set whether or not this display list is enabled.
- Parameters
-
val | The new enabled state of the list. |
◆ Valid() [1/2]
- Returns
- true if the list is valid
◆ Valid() [2/2]
void Valid |
( |
const bool & |
val | ) |
|
|
inline |
Set whether or not the list is valid.
- Note
- Be careful when setting this to true. Make sure the list really is valid.
- Parameters
-
val | The new validity of the list. |
◆ _handle
The OpenGL list handle for this list
◆ _useList
True if this list is enabled
◆ _valid
True if this list is valid
The documentation for this class was generated from the following file: