1GLINITNAMES(3G) GLINITNAMES(3G)
2
3
4
6 glInitNames - initialize the name stack
7
8
10 void glInitNames( void )
11
12
14 The name stack is used during selection mode to allow sets of rendering
15 commands to be uniquely identified. It consists of an ordered set of
16 unsigned integers. glInitNames causes the name stack to be initialized
17 to its default empty state.
18
19 The name stack is always empty while the render mode is not GL_SELECT.
20 Calls to glInitNames while the render mode is not GL_SELECT are
21 ignored.
22
24 GL_INVALID_OPERATION is generated if glInitNames is executed between
25 the execution of glBegin and the corresponding execution of glEnd.
26
28 glGet with argument GL_NAME_STACK_DEPTH
29 glGet with argument GL_MAX_NAME_STACK_DEPTH
30
32 glLoadName(3G), glPushName(3G), glRenderMode(3G), glSelectBuffer(3G)
33
34
35
36 GLINITNAMES(3G)