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

NAME

6       glLoadName - load a name onto the name stack
7

C SPECIFICATION

9       void glLoadName(GLuint name);
10

PARAMETERS

12       name
13           Specifies a name that will replace the top value on the name stack.
14

DESCRIPTION

16       The name stack is used during selection mode to allow sets of rendering
17       commands to be uniquely identified. It consists of an ordered set of
18       unsigned integers and is initially empty.
19
20       glLoadName causes name to replace the value on the top of the name
21       stack.
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
36       glGet() with argument GL_MAX_NAME_STACK_DEPTH
37

SEE ALSO

39       glInitNames(), glPushName(), glRenderMode(), glSelectBuffer()
40
42       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
43       under the SGI Free Software B License. For details, see
44       http://oss.sgi.com/projects/FreeB/.
45

AUTHORS

47       opengl.org
48
49
50
51opengl.org                        06/10/2014                    GLLOADNAME(3G)
Impressum