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

NAME

6       glInitNames - initialize the name stack
7

C SPECIFICATION

9       void glInitNames(void);
10

DESCRIPTION

12       The name stack is used during selection mode to allow sets of rendering
13       commands to be uniquely identified. It consists of an ordered set of
14       unsigned integers.  glInitNames causes the name stack to be initialized
15       to its default empty state.
16
17       The name stack is always empty while the render mode is not GL_SELECT.
18       Calls to glInitNames while the render mode is not GL_SELECT are
19       ignored.
20

ERRORS

22       GL_INVALID_OPERATION is generated if glInitNames is executed between
23       the execution of glBegin() and the corresponding execution of glEnd().
24

ASSOCIATED GETS

26       glGet() with argument GL_NAME_STACK_DEPTH
27
28       glGet() with argument GL_MAX_NAME_STACK_DEPTH
29

SEE ALSO

31       glLoadName(), glPushName(), glRenderMode(), glSelectBuffer()
32
34       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
35       under the SGI Free Software B License. For details, see
36       http://oss.sgi.com/projects/FreeB/.
37

AUTHORS

39       opengl.org
40
41
42
43opengl.org                        06/10/2014                   GLINITNAMES(3G)
Impressum