Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Gl.InitNames (gb.opengl)

Static Sub InitNames ( )

Initialize the name stack.

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.InitNames 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.InitNames while the render mode is not Gl.SELECT are ignored.

Errors

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

Associated Gets

Gl.Get with argument Gl.NAME_STACK_DEPTH

Gl.Get with argument Gl.MAX_NAME_STACK_DEPTH

See also

Gl.LoadName, Gl.SelectBuffer

See original documentation on OpenGL website