Extracted from Pike v7.3 release 18 at 2002-03-27.
pike.roxen.com
[Top]
GL

Method GL.glInitNames()


Method glInitNames

void GL.glInitNames()

Description

The name stack is used during selection mode to allow sets of rendering commands to be uniquely identified. It consists of an ordered set of unsigned integers. GL.glInitNames causes the name stack to be initialized to its default empty state.

The name stack is always empty while the render mode is not GL_SELECT. Calls to GL.glInitNames while the render mode is not GL_SELECT are ignored.

Throws

GL_INVALID_OPERATION is generated if GL.glInitNames is executed between the execution of GL.glBegin and the corresponding execution of GL.glEnd.