1GLLOADNAME(3G)                                                  GLLOADNAME(3G)
2
3
4

NAME

6       glLoadName - load a name onto the name stack
7
8

C SPECIFICATION

10       void glLoadName( GLuint name )
11
12

PARAMETERS

14       name  Specifies  a  name  that  will  replace the top value on the name
15             stack.
16

DESCRIPTION

18       The name stack is used during selection mode to allow sets of rendering
19       commands  to  be uniquely identified.  It consists of an ordered set of
20       unsigned integers.  glLoadName causes name to replace the value on  the
21       top of the name stack, which is initially empty.
22
23       The  name stack is always empty while the render mode is not GL_SELECT.
24       Calls to glLoadName while the render mode is not GL_SELECT are ignored.
25

ERRORS

27       GL_INVALID_OPERATION is generated if glLoadName  is  called  while  the
28       name stack is empty.
29
30       GL_INVALID_OPERATION is generated if glLoadName is executed between the
31       execution of glBegin and the corresponding execution of glEnd.
32

ASSOCIATED GETS

34       glGet with argument GL_NAME_STACK_DEPTH
35       glGet with argument GL_MAX_NAME_STACK_DEPTH
36

SEE ALSO

38       glInitNames(3G), glPushName(3G), glRenderMode(3G), glSelectBuffer(3G)
39
40
41
42                                                                GLLOADNAME(3G)
Impressum