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

NAME

6       glGetPointerv - return the address of the specified pointer
7

C SPECIFICATION

9       void glGetPointerv(GLenum pname, GLvoid ** params);
10

PARAMETERS

12       pname
13           Specifies the array or buffer pointer to be returned. Symbolic
14           constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER,
15           GL_FOG_COORD_ARRAY_POINTER, GL_FEEDBACK_BUFFER_POINTER,
16           GL_INDEX_ARRAY_POINTER, GL_NORMAL_ARRAY_POINTER,
17           GL_SECONDARY_COLOR_ARRAY_POINTER, GL_SELECTION_BUFFER_POINTER,
18           GL_TEXTURE_COORD_ARRAY_POINTER, or GL_VERTEX_ARRAY_POINTER are
19           accepted.
20
21       params
22           Returns the pointer value specified by pname.
23

DESCRIPTION

25       glGetPointerv returns pointer information.  pname is a symbolic
26       constant indicating the pointer to be returned, and params is a pointer
27       to a location in which to place the returned data.
28
29       For all pname arguments except GL_FEEDBACK_BUFFER_POINTER and
30       GL_SELECTION_BUFFER_POINTER, if a non-zero named buffer object was
31       bound to the GL_ARRAY_BUFFER target (see glBindBuffer()) when the
32       desired pointer was previously specified, the pointer returned is a
33       byte offset into the buffer object's data store. Buffer objects are
34       only available in OpenGL versions 1.5 and greater.
35

NOTES

37       glGetPointerv is available only if the GL version is 1.1 or greater.
38
39       GL_FOG_COORD_ARRAY_POINTER and GL_SECONDARY_COLOR_ARRAY_POINTER are
40       available only if the GL version is 1.4 or greater.
41
42       The pointers are all client-side state.
43
44       The initial value for each pointer is 0.
45
46       For OpenGL versions 1.3 and greater, or when the ARB_multitexture
47       extension is supported, querying the GL_TEXTURE_COORD_ARRAY_POINTER
48       returns the value for the active client texture unit.
49

ERRORS

51       GL_INVALID_ENUM is generated if pname is not an accepted value.
52

SEE ALSO

54       glBindBuffer(), glClientActiveTexture(), glColorPointer(),
55       glEdgeFlagPointer(), glFogCoordPointer(), glFeedbackBuffer(),
56       glGetVertexAttribPointerv(), glIndexPointer(), glNormalPointer(),
57       glSecondaryColorPointer(), glSelectBuffer(), glTexCoordPointer(),
58       glVertexAttribPointer(), glVertexPointer()
59
61       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
62       under the SGI Free Software B License. For details, see
63       http://oss.sgi.com/projects/FreeB/.
64

AUTHORS

66       opengl.org
67
68
69
70opengl.org                        06/10/2014                 GLGETPOINTERV(3G)
Impressum