glGetVertexAttribPointerv man page on RedHat
[printable version]
GLGETVERTEXATTRIBPOI(3G) OpenGL Manual GLGETVERTEXATTRIBPOI(3G)
NAME
glGetVertexAttribPointerv - return the address of the specified generic
vertex attribute pointer
C SPECIFICATION
void glGetVertexAttribPointerv(GLuint index, GLenum pname,
GLvoid **pointer);
PARAMETERS
index
Specifies the generic vertex attribute parameter to be returned.
pname
Specifies the symbolic name of the generic vertex attribute
parameter to be returned. Must be GL_VERTEX_ATTRIB_ARRAY_POINTER.
pointer
Returns the pointer value.
DESCRIPTION
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.
The pointer returned is a byte offset into the data store of the buffer
object that was bound to the GL_ARRAY_BUFFER target (see
glBindBuffer()) when the desired pointer was previously specified.
NOTES
The state returned is retrieved from the currently bound vertex array
object.
The initial value for each pointer is 0.
ERRORS
GL_INVALID_OPERATION is generated if no vertex array object is
currently bound.
GL_INVALID_VALUE is generated if index is greater than or equal to
GL_MAX_VERTEX_ATTRIBS.
GL_INVALID_ENUM is generated if pname is not an accepted value.
ASSOCIATED GETS
glGet() with argument GL_MAX_VERTEX_ATTRIBS
SEE ALSO
glGetVertexAttrib(), glVertexAttribPointer()
COPYRIGHT
Copyright © 2003-2005 3Dlabs Inc. Ltd. Copyright © 2010 Khronos Group.
This material may be distributed subject to the terms and conditions
set forth in the Open Publication License, v 1.0, 8 June 1999.
http://opencontent.org/openpub/.
AUTHORS
opengl.org
opengl.org 03/16/2013 GLGETVERTEXATTRIBPOI(3G)
[top]
List of man pages available for RedHat
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|