Gl.ListBase (gb.opengl)

Static Sub ListBase ( Index As Integer )

Set the display-list base for Gl.CallLists.

Parameters

base

Specifies an integer offset that will be added to Gl.CallLists offsets to generate display-list names. The initial value is 0.

Description

Gl.CallLists specifies an array of offsets. Display-list names are generated by adding base to each offset. Names that reference valid display lists are executed; the others are ignored.

Errors

Gl.INVALID_OPERATION is generated if Gl.ListBase is executed between the execution of Gl.Begin and the corresponding execution of Gl.End.

Associated Gets

Gl.Get with argument Gl.LIST_BASE

See also

See original documentation on OpenGL website