glGetVertexAttribPointerv — return the address of the specified generic vertex attribute pointer
void glGetVertexAttribPointerv( | GLuint index, |
| GLenum pname, | |
GLvoid **pointer); |
indexSpecifies the generic vertex attribute parameter to be returned.
pnameSpecifies the symbolic name of the generic
vertex attribute parameter to be returned. Must be
GL_VERTEX_ATTRIB_ARRAY_POINTER.
pointerReturns the pointer value.
glGetVertexAttribPointerv returns
pointer information. index is the generic
vertex attribute to be queried, pname is
a symbolic constant indicating the pointer to be returned, and
params is a pointer to a location in
which to place the returned data.
If a non-zero named buffer object was bound to the GL_ARRAY_BUFFER target
(see glBindBuffer) when the desired pointer was previously
specified, the pointer returned is a byte offset into the buffer object's data store.
GL_INVALID_ENUM
is generated if pname
is not an accepted value.
GL_INVALID_VALUE
is generated if index
is greater than or equal to GL_MAX_VERTEX_ATTRIBS.
Copyright © 2003-2005 3Dlabs Inc. Ltd. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.