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
GLBINDPROGRAMPIPELIN(3G) [FIXME: manual] GLBINDPROGRAMPIPELIN(3G)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().
SEE ALSO
glCreateShader(), glCreateProgram(), glCompileShader(), glLinkProgram(), glGenProgramPipelines(), glDeleteProgramPipelines(),
glIsProgramPipeline()
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/.
[FIXME: source] 05/30/2012 GLBINDPROGRAMPIPELIN(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)