GLGETVERTEXATTRIBPOI(3G)
π¦ NAME π¦
okay so welcome to the GLGETVERTEXATTRIBPOI(3G) manual page, bestie π. The main character here is glGetVertexAttribPointerv, and its whole thing is: return the address of the specified generic vertex attribute pointer. That's the assignment, and it ate.
π» 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 beGL_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. yes, that's the lore π«Ά.
π₯ NOTES π₯
The state returned is retrieved from the currently bound vertex array object. very "you are where you are" of it.
The initial value for each pointer is 0.
π ERRORS π
GL_INVALID_OPERATIONis generated if no vertex array object is currently bound.GL_INVALID_VALUEis generated ifindexis greater than or equal toGL_MAX_VERTEX_ATTRIBS.GL_INVALID_ENUMis generated ifpnameis not an accepted value.
bestie, these are the vibe checks that will absolutely end you if you ignore them π.
π ASSOCIATED GETS π
glGet() with argument GL_MAX_VERTEX_ATTRIBS.
π VERSION SUPPORT π
the function/feature name is glGetVertexAttribPointerv, and it is supported across every version listed here, no cap:
- OpenGL
2.0β - OpenGL
2.1β - OpenGL
3.0β - OpenGL
3.1β - OpenGL
3.2β - OpenGL
3.3β - OpenGL
4.0β - OpenGL
4.1β - OpenGL
4.2β - OpenGL
4.3β - OpenGL
4.4β - OpenGL
4.5β
πΈ SEE ALSO πΈ
glGetVertexAttrib()glVertexAttribPointer()
π§ COPYRIGHT π§
Copyright Β© 2003-2005 3Dlabs Inc. Ltd. Copyright Β© 2010-2014 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/.
π COPYRIGHT (the encore) π
Copyright Β© 2003-2005 3Dlabs Inc. Ltd.
Copyright Β© 2010-2014 Khronos Group
okay that's the whole page, bestie β sourced from [FIXME: source], dated 08/09/2021, and filed under GLGETVERTEXATTRIBPOI(3G). mwah πβ¨
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms