glActiveShaderProgram

glActiveShaderProgram: man4/glActiveShaderProgram.xml

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.

@OpenGL_Version(OGLIntroducedIn.V4P1)
@OpenGL_Extension("GL_ARB_separate_shader_objects")
fn_glActiveShaderProgram glActiveShaderProgram;

See Also

glGenProgramPipelines, glDeleteProgramPipelines, glIsProgramPipeline, glUseProgram, glUniform

Meta