glActiveShaderProgram man page on RedHat
[printable version]
GLACTIVESHADERPROGRA(3G) OpenGL Manual GLACTIVESHADERPROGRA(3G)
NAME
glActiveShaderProgram - set the active program object for a program
pipeline object
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
object pipeline.
DESCRIPTION
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().
ERRORS
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().
GL_INVALID_OPERATION is generated if program refers to a program object
that has not been successfully linked.
SEE ALSO
glGenProgramPipelines(), glDeleteProgramPipelines(),
glIsProgramPipeline(), glUseProgram(), glUniform()
COPYRIGHT
Copyright © 2010 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/.
AUTHORS
opengl.org
opengl.org 03/16/2013 GLACTIVESHADERPROGRA(3G)
[top]
List of man pages available for RedHat
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|