GLACTIVESHADERPROGRA(3G)
πΈ NAME πΈ
glActiveShaderProgram β set the active program object for a program pipeline object, bestie. Also the manual page itself goes by GLACTIVESHADERPROGRA(3G) (yes, the title is truncated like that), and the header literally has [FIXME: manual] in it β unfinished but iconic π
π» C SPECIFICATION π»
void glActiveShaderProgram(GLuint pipeline, GLuint program);
π PARAMETERS π
pipelineβ specifies the program pipeline object to set the active program object for.programβ specifies the program object to set as the active program pipeline objectpipeline.
β¨ DESCRIPTION β¨
okay so glActiveShaderProgram sets the linked program named by program to be the active program for the program pipeline object pipeline. The active program in the active program pipeline object is the target of calls to glUniform() when no program has been made current through a call to glUseProgram(). That's the whole vibe, no cap π«Ά
π 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().GL_INVALID_OPERATIONis generated ifprogramrefers to a program object that has not been successfully linked.
π VERSION SUPPORT π
Version support check for the function / feature name glActiveShaderProgram β here's the OpenGL Version tea, bestie:
- 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()glDeleteProgramPipelines()glIsProgramPipeline()glUseProgram()glUniform()
π 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
that's the whole page, bestie π«Ά β source: [FIXME: source], date/version line: 08/09/2021, and the footer still says GLACTIVESHADERPROGRA(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