GLACTIVESHADERPROGRA(3G)

    .SH "NAME" glActiveShaderProgram - set the active program object for a program pipeline object
    .SH "C SPECIFICATION"

            .HP u void glActiveShaderProgram(GLuint pipeline, GLuint program);

    .SH "PARAMETERS"

        .PP pipeline

                Specifies the program pipeline object to set the active program object for.

            .RE
            .PP program

                    Specifies the program object to set as the active program pipeline object pipeline.

                .RE

            .SH "DESCRIPTION"
                .PP 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().

            .SH "ERRORS"
                .PP GL_INVALID_OPERATION is generated if pipeline is not a name previously returned from a call to glGenProgramPipelines() or if such a name has been deleted by a call to glDeleteProgramPipelines().
                .PP GL_INVALID_OPERATION is generated if program refers to a program object that has not been successfully linked.

            .SH "API VERSION SUPPORT"

                .TS allbox tab(:); l l l l l. T{ glActiveShaderProgram T}:T{ T}:T{ T}:T{ T}:T{ T}

            .SH "SEE ALSO"
                .PP glGenProgramPipelines(), glDeleteProgramPipelines(), glIsProgramPipeline(), glUseProgram(), glUniform()

            .SH "COPYRIGHT"
                .PP Copyright © 2010-2015 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-2015 Khronos Group