1GLINITNAMES(3G)                                                GLINITNAMES(3G)
2
3
4

NAME

6       glInitNames - initialize the name stack
7
8

C SPECIFICATION

10       void glInitNames( void )
11
12

DESCRIPTION

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

ERRORS

24       GL_INVALID_OPERATION is generated if glInitNames  is  executed  between
25       the execution of glBegin and the corresponding execution of glEnd.
26

ASSOCIATED GETS

28       glGet with argument GL_NAME_STACK_DEPTH
29       glGet with argument GL_MAX_NAME_STACK_DEPTH
30

SEE ALSO

32       glLoadName(3G), glPushName(3G), glRenderMode(3G), glSelectBuffer(3G)
33
34
35
36                                                               GLINITNAMES(3G)
Impressum