GLGETOBJECTPTRLABEL(3G)
π NAME π
okay bestie, welcome to the GLGETOBJECTPTRLABEL(3G) page β that's the 3G manual, and yes the name is a whole mouthful π. This function is literally here to retrieve the label of a sync object identified by a pointer. slay.
β¨ C SPECIFICATION β¨
void glGetObjectPtrLabel(void * ptr, GLsizei bufSize, GLsizei * length,
char * label);
π PARAMETERS π
ptrβ the name of the sync object whose label you're retrieving.bufSizeβ the length of the buffer whose address is inlabel.lengthβ the address of a variable that receives the length of the object label.labelβ the address of a string that will receive the object label.
πΈ DESCRIPTION πΈ
So here's the vibe: glGetObjectPtrLabel retrieves the label of the sync object identified by ptr.
label is the address of a string that will be used to store the object label. bufSize specifies the number of characters in the array identified by label. length contains the address of a variable which will receive the number of characters in the object label. If length is NULL, then it is ignored and no data is written. Likewise, if label is NULL, or if bufSize is zero then no data is written to label.
π₯ ERRORS π₯
GL_INVALID_ENUMis generated ifidentifieris not one of the accepted object types.GL_INVALID_VALUEis generated ifptris not the name of an existing sync object.GL_INVALID_VALUEis generated ifbufSizeis zero.
β οΈ big warning, bestie: if notNULL,lengthandlabelshould be addresses to which the client has write access, otherwise undefined behavior, including process termination may occur. that's not a vibe β it's giving process termination π.
π¦ ASSOCIATED GETS π¦
glGet() with argument GL_MAX_LABEL_LENGTH.
π VERSION SUPPORT π
The original table row is glGetObjectPtrLabel / Function / Feature Name. Here are the OpenGL Version columns translated into a list, because we're keeping every detail and not skipping a single one π
:
- Function / Feature Name:
glGetObjectPtrLabel - 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 π
glPushDebugGroup()glPopDebugGroup()glObjectLabel()glGetObjectLabel()
π COPYRIGHT π
Copyright Β© 2013-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 π
Copyright Β© 2013-2014 Khronos Group
okay bestie, that's the whole manual page! π The footer's source/version tag was [FIXME: source], the date was 08/09/2021, and the page name is GLGETOBJECTPTRLABEL(3G) β periodt. π¦β¨
π¦ 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