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 (C) 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 06/10/2014 GLACTIVESHADERPROGRA(3G)
Check Out this Related Man Page
GLDELETEPROGRAMPIPEL(3G) OpenGL Manual GLDELETEPROGRAMPIPEL(3G)NAME
glDeleteProgramPipelines - delete program pipeline objects
C SPECIFICATION
void glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines);
PARAMETERS
n
Specifies the number of program pipeline objects to delete.
pipelines
Specifies an array of names of program pipeline objects to delete.
DESCRIPTION
glDeleteProgramPipelines deletes the n program pipeline objects whose names are stored in the array pipelines. Unused names in pipelines
are ignored, as is the name zero. After a program pipeline object is deleted, its name is again unused and it has no contents. If program
pipeline object that is currently bound is deleted, the binding for that object reverts to zero and no program pipeline object becomes
current.
ASSOCIATED GETS
glGet() with argument GL_PROGRAM_PIPELINE_BINDING
SEE ALSO
glGenProgramPipelines(), glBindProgramPipeline(), glIsProgramPipeline(), glUseShaderPrograms(), glUseProgram()
COPYRIGHT
Copyright (C) 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 06/10/2014 GLDELETEPROGRAMPIPEL(3G)
I have a project where I have to use bzcat to uncompress a file and use that output as the data to run another program on.
I understand that you would do (bzcat filename.bz2 ! program name) but then how do you access that data in the c program??? Please help thanks (2 Replies)
need help....just wanna copy all files with no extensions but with tree-informations to one dir
first I make a new directory with all foldertrees...like
find / -name "*" -type d >a1
sed -e 's/^/new/g' <a1 >b1
mkdir -p `cat a1`
then I wanna copy all specific files with no... (12 Replies)
Hi,
I would like to know how to call a program "cmp_size" ... where to put in progam to run it
ex: program checkdisk is below, and it will call a nother problem "cmp_size"
Do I just put the cmp_size program at the end of this program.
Thank you very much,
# check all directory for size... (3 Replies)
I've got a very ugly pipeline for analyzing web server logs (but nevermind the application; I've come across this in other scripts as well). I want to nicely comment the steps in the pipeline, but I can't seem to do it.
I know, for instance that in csh/sh/bash, a # begins a comment, and any... (2 Replies)
Hi,
I would like to process, filter the same ASCII asynchronous live data stream in more than one pipe pipeline.
So the one pipeline should filter out some records using grep key word
and more than one pipes pipelines
each should grep for another key words, each set seperately for each... (5 Replies)
How would I combine commands in a pipeline to produce an alphabetized list of who's online at a particular moment?
Then:
How would I take that pipeline and turn it into a command called "whoison"? (1 Reply)
Write a pipeline that takes a file as input and replaces all occurrences of exclamation marks (!) by underscores (_) . The pipeline should also prepend your login at the beginning of every line (the beginning of a line is specified with ^ in Unix)
Hi guys,
Just trying to do this tutorial... (1 Reply)
Write a pipeline that takes a file as input and replaces all occurrences of exclamation marks (!)
by underscores (_) . The pipeline should also prepend your login at the beginning of every
line (the beginning of a line is specified with ^ in Unix) (1 Reply)
Hello gurus - I must be missing something, or there is a better way - pls enlighten me
I'm on a Solaris 10 vm running the following pipeline to reduce some apache logs (actually lynx dumps of /server-status/ when threads are above a threshold) to a set of offending DDoS IP addresses.
awk... (10 Replies)