1GLGETPOINTERV(3G) GLGETPOINTERV(3G)
2
3
4
6 glGetPointerv - return the address of the specified pointer
7
8
10 void glGetPointerv( GLenum pname,
11 void **params )
12
13
15 pname Specifies the array or buffer pointer to be returned. Symbolic
16 constants GL_COLOR_ARRAY_POINTER, GL_EDGE_FLAG_ARRAY_POINTER,
17 GL_FEEDBACK_BUFFER_POINTER, GL_INDEX_ARRAY_POINTER,
18 GL_NORMAL_ARRAY_POINTER, GL_TEXTURE_COORD_ARRAY_POINTER,
19 GL_SELECTION_BUFFER_POINTER, and GL_VERTEX_ARRAY_POINTER are
20 accepted.
21
22 params Returns the pointer value specified by pname.
23
25 glGetPointerv returns pointer information. pname is a symbolic constant
26 indicating the pointer to be returned, and params is a pointer to a
27 location in which to place the returned data.
28
30 glGetPointerv is available only if the GL version is 1.1 or greater.
31
32 The pointers are all client-side state.
33
34 The initial value for each pointer is 0.
35
36 When the GL_ARB_multitexture extension is supported, querying the
37 GL_TEXTURE_COORD_ARRAY_POINTER returns the value for the active client
38 texture unit.
39
41 GL_INVALID_ENUM is generated if pname is not an accepted value.
42
44 glArrayElement(3G), glClientActiveTextureARB(3G), glColorPointer(3G),
45 glDrawArrays(3G), glEdgeFlagPointer(3G), glFeedbackBuffer(3G),
46 glIndexPointer(3G), glInterleavedArrays(3G), glNormalPointer(3G),
47 glSelectBuffer(3G), glTexCoordPointer(3G), glVertexPointer(3G)
48
49
50
51 GLGETPOINTERV(3G)