Provided by: opengl-4-man-doc_1.0~svn33624-1_all bug

NAME

       glBindProgramPipeline - bind a program pipeline to the current context

C SPECIFICATION

       void glBindProgramPipeline(GLuint pipeline);

PARAMETERS

       pipeline
           Specifies the name of the pipeline object to bind to the context.

DESCRIPTION

       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 name
       pipeline then a new pipeline object is created with that name and initialized to the default state
       vector.

       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.

ERRORS

       GL_INVALID_OPERATION is generated if pipeline is not zero or a name previously returned from a call to
       glGenProgramPipelines() or if such a name has been deleted by a call to glDeleteProgramPipelines().

VERSION SUPPORT

       ┌──────────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                      │                OpenGL Version                                         │
       ├──────────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │Function2.02.13.03.13.23.34.04.14.24.34.44.5 │
       │/                     │     │     │     │     │     │     │     │     │     │     │     │     │
       │Feature               │     │     │     │     │     │     │     │     │     │     │     │     │
       │Name                  │     │     │     │     │     │     │     │     │     │     │     │     │
       ├──────────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │glBindProgramPipeline │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │  ✔  │  ✔  │  ✔  │  ✔  │
       └──────────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

SEE ALSO

       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

[FIXME: source]                                    01/03/2018                           GLBINDPROGRAMPIPELIN(3G)