Pike v8.1 release 6

Class GLUE.DynList

Inheritance graph
GLUE.List GLUE.DynList
Description

A displaylist that is generated on demand.

Note

On Windows lists needs to be regenerated when the video driver mode is changed. Thus the DynList is to prefer over List, since regeneration is done automatically upon video mode change.


Inherit List

inherit List : List


Method create

GLUE.DynList GLUE.DynList(function(:void)|void f)

Description

Create a new DynList object and optionally set a function that can generate the displaylist

Parameter f

Function which contains the GL commands that generates the displaylist.