Class GLUE.List
- Description
A display list abstraction. Automatically allocates a display list id upon creation and correctly deallocate it upon destruction.
- See also
- Method create
GLUE.List GLUE.List(
void
|function
(:void
)f
)- Description
When creating a new list, the list code can be compiled upon creation by supplying a function f that performs the GL operations.
- See also
- Example
List list = List() { // GL code };
- Method destroy
protected
void
destroy()- Description
Deletes this list and frees the list id from the id pool.