GLGETPROGRAMPIPELINE(3G)
π
GLGETPROGRAMPIPELINE(3G) β no literally bestie this is the 3G manual page
okay so picture this: you've got a program pipeline object and it's got opinions (that's the info log), and this function is how you get them out. that's it. that's the whole vibe. let's go π«Ά
β¨ NAME β¨
glGetProgramPipelineInfoLog β retrieve the info log string from a program pipeline object. it's giving "read the receipts" energy, and honestly? iconic. π
π C SPECIFICATION π
void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize,
GLsizei *length, GLchar *infoLog);
copy it exactly like that, no cap, don't be creative with the signature please π
πΈ PARAMETERS πΈ
pipelineβ the name of a program pipeline object you wanna pull the info log out of. that's the one, bestie πbufSizeβ the max number of characters, including the null terminator, that may be written intoinfoLog. yes the null terminator counts, do not forget the null terminator, the null terminator is main character πlengthβ the address of a variable where the number of characters actually written intoinfoLoggets written. very "and here's the receipt for the receipt" of it all.infoLogβ the address of an array of characters where the info log forpipelinegets written. this is the little container your tea gets poured into ββ¨
π¦ DESCRIPTION π¦
okay so glGetProgramPipelineInfoLog retrieves the info log for the program pipeline object pipeline. The info log, including its null terminator, is written into the array of characters whose address is given by infoLog. π«Ά
The maximum number of characters that may be written into infoLog is given by bufSize, and the actual number of characters written into infoLog is returned in the integer whose address is given by length. If length is NULL, no length is returned β she simply declines to report, and that's valid. π
The actual length of the info log for the program pipeline may be determined by calling glGetProgramPipeline() with pname set to GL_INFO_LOG_LENGTH. so if you need to know how big the tea is before you pour it, that's your girl. π
π ERRORS π
GL_INVALID_OPERATIONis generated ifpipelineis not a name previously returned from a call toglGenProgramPipelines()or if such a name has been deleted by a call toglDeleteProgramPipelines(). translation: don't make up a name and don't use a dead one. she WILL notice. π
β ASSOCIATED GETS β
glGetProgramPipeline()with parameterGL_INFO_LOG_LENGTH.
iykyk π
π VERSION SUPPORT π
here's the whole chart, translated from the little box situation, every single cell accounted for, I would never do you dirty like that:
glGetProgramPipelineInfoLogβ OpenGL2.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: β
so she showed up in 4.1 and has been booked & busy every version since. before that? not in the building. π¦β¨
π SEE ALSO π
glGenProgramPipelines()glBindProgramPipeline()glDeleteProgramPipelines()glGetProgramPipeline()
the whole friend group tbh π«Ά
π COPYRIGHT π
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 π
Copyright Β© 2010-2014 Khronos Group
(yes there's two of them, that's how the original rolls, I'm not merging them, I would never π€)
and that's the page!! mwah π source situation was [FIXME: source], dated 08/09/2021, and it signs off as GLGETPROGRAMPIPELINE(3G) β go forth and read those info logs, bestie, you're gonna slay ππ
π₯
π¦ 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