GLGETPROGRAMPIPELINE(3G)
NAME
glGetProgramPipeline β retrieve properties of a program pipeline object. Welcome to the 3G manual page ([FIXME: manual] placeholder and all), bestie β we're about to peek at a program pipelineβs settings. π
β¨
C SPECIFICATION
void glGetProgramPipelineiv(GLuint pipeline, GLenum pname,
GLint *params);
PARAMETERS
pipelineβ specifies the name of a program pipeline object whose parameter you want to retrieve.pnameβ specifies the name of the parameter to retrieve.paramsβ specifies the address of a variable into which will be written the value or values ofpnameforpipeline.
DESCRIPTION
glGetProgramPipelineiv retrieves the value of a property of the program pipeline object pipeline. pname specifies the name of the parameter whose value to retrieve. The value of the parameter is written to the variable whose address is given by params.
Hereβs the pname tea, one by one π«:
- If
pnameisGL_ACTIVE_PROGRAM, the name of the active program object of the program pipeline object is returned inparams. - If
pnameisGL_VERTEX_SHADER, the name of the current program object for the vertex shader type of the program pipeline object is returned inparams. - If
pnameisGL_TESS_CONTROL_SHADER, the name of the current program object for the tessellation control shader type of the program pipeline object is returned inparams. - If
pnameisGL_TESS_EVALUATION_SHADER, the name of the current program object for the tessellation evaluation shader type of the program pipeline object is returned inparams. - If
pnameisGL_GEOMETRY_SHADER, the name of the current program object for the geometry shader type of the program pipeline object is returned inparams. - If
pnameisGL_FRAGMENT_SHADER, the name of the current program object for the fragment shader type of the program pipeline object is returned inparams. - If
pnameisGL_INFO_LOG_LENGTH, the length of the info log, including the null terminator, is returned inparams. If there is no info log, zero is returned.
ERRORS
GL_INVALID_OPERATIONis generated ifpipelineis not zero or a name previously returned from a call toglGenProgramPipelines()or if such a name has been deleted by a call toglDeleteProgramPipelines().GL_INVALID_ENUMis generated ifpnameis not one of the accepted values.
VERSION SUPPORT
The version-support vibe check for glGetProgramPipelineiv across OpenGL Version:
- Function / Feature Name:
glGetProgramPipelineiv - 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
glGenProgramPipelines()glBindProgramPipeline()glDeleteProgramPipelines()
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
okay that's the whole page, bestie! π«Ά this one came from [FIXME: source], version/date 08/09/2021, and it's the GLGETPROGRAMPIPELINE(3G) page. slay and pipeline responsibly β¨
π¦ 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