GLBINDPROGRAMPIPELIN(3G)
π NAME
okay bestie, this is the GLBINDPROGRAMPIPELIN(3G) page β yes, the 3G manual β and the function is glBindProgramPipeline, which binds a program pipeline to the current context. periodt. π
β¨ C SPECIFICATION
void glBindProgramPipeline(GLuint pipeline);
π PARAMETERS
pipelineβ the name of the pipeline object you're binding to the context. literally that.
π¦ DESCRIPTION
okay so glBindProgramPipeline binds a program pipeline object to the current context. pipeline must be a name previously returned from a call to glGenProgramPipelines(). If no program pipeline exists with the name pipeline, then a new pipeline object is created with that name and initialized to the default state vector. no cap.
When a program pipeline object is bound using glBindProgramPipeline, any previous binding is broken and is replaced with a binding to the specified pipeline object. If pipeline is zero, the previous binding is broken and is not replaced, leaving no pipeline object bound. If no current program object has been established by glUseProgram(), the program objects used for each stage and for uniform updates are taken from the bound program pipeline object, if any. If there is a current program object established by glUseProgram(), the bound program pipeline object has no effect on rendering or uniform updates. When a bound program pipeline object is used for rendering, individual shader executables are taken from its program objects. iconic behavior, honestly. πΈ
π ERRORS
GL_INVALID_OPERATION is generated if pipeline is neither zero nor a name previously returned from a call to glGenProgramPipelines(), or if such a name has been deleted by a call to glDeleteProgramPipelines(). lowkey read that twice, bestie. π
π VERSION SUPPORT
The table's row label is Function / Feature Name and its header is OpenGL Version; for glBindProgramPipeline, here is every cell, no table needed:
- 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
go look at these icons when you're done:
glCreateShader()glCreateProgram()glCompileShader()glLinkProgram()glGenProgramPipelines()glDeleteProgramPipelines()glIsProgramPipeline()
π 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
cute sign-off time: source/version [FIXME: source], date 08/09/2021 β that's the footer info, bestie. πβ¨
π¦ 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