GLCOMPILESHADER(3G) OpenGL 3.3 GLCOMPILESHADER(3G)NAME
glCompileShader - Compiles a shader object
C SPECIFICATION
void glCompileShader(GLuint shader);
PARAMETERS
shader
Specifies the shader object to be compiled.
DESCRIPTION
glCompileShader compiles the source code strings that have been stored in the shader object specified by shader.
The compilation status will be stored as part of the shader object's state. This value will be set to GL_TRUE if the shader was compiled
without errors and is ready for use, and GL_FALSE otherwise. It can be queried by calling glGetShader() with arguments shader and
GL_COMPILE_STATUS.
Compilation of a shader can fail for a number of reasons as specified by the OpenGL Shading Language Specification. Whether or not the
compilation was successful, information about the compilation can be obtained from the shader object's information log by calling
glGetShaderInfoLog().
ERRORS
GL_INVALID_VALUE is generated if shader is not a value generated by OpenGL.
GL_INVALID_OPERATION is generated if shader is not a shader object.
ASSOCIATED GETS
glGetShaderInfoLog() with argument shader
glGetShader() with arguments shader and GL_COMPILE_STATUS
glIsShader()
SEE ALSO
glCreateShader(), glLinkProgram(), glShaderSource()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 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/.
OpenGL 3.3 03/08/2011 GLCOMPILESHADER(3G)
Check Out this Related Man Page
GLISSHADER(3G) OpenGL 3.3 GLISSHADER(3G)NAME
glIsShader - Determines if a name corresponds to a shader object
C SPECIFICATION
GLboolean glIsShader(GLuint shader);
PARAMETERS
shader
Specifies a potential shader object.
DESCRIPTION
glIsShader returns GL_TRUE if shader is the name of a shader object previously created with glCreateShader() and not yet deleted with
glDeleteShader(). If shader is zero or a non-zero value that is not the name of a shader object, or if an error occurs, glIsShader returns
GL_FALSE.
NOTES
No error is generated if shader is not a valid shader object name.
A shader object marked for deletion with glDeleteShader() but still attached to a program object is still considered a shader object and
glIsShader will return GL_TRUE.
ASSOCIATED GETS
glGetAttachedShaders() with a valid program object
glGetShader() with arguments shader and a parameter to be queried
glGetShaderInfoLog() with argument object
glGetShaderSource() with argument object
SEE ALSO
glAttachShader(), glCompileShader(), glCreateShader(), glDeleteShader(), glDetachShader(), glLinkProgram(), glShaderSource()
COPYRIGHT
Copyright (C) 2003-2005 3Dlabs Inc. Ltd. 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/.
OpenGL 3.3 03/08/2011 GLISSHADER(3G)
Hello
I have big compilation project when I run the top make file
I have problem to find the errors that acres in the sub directories because the make file keeps
Running the compilation. is there any way to perform summry of the errors when the Top
makefile done running ?
thanks (2 Replies)
Hi,
I just pulled out my code from source control, then I compiled, the compilation is successful at that time.
Then I modified one of the source file, Then I compiled, I got the following error
ld: fatal: Symbol referencing errors. No output written to ../../CM/bin/cato
Before... (1 Reply)
I have re-compiled kernel source code available in /usr/src/linux.2.4.20 with "make" command. The compilation is succesful.
Now the problem is create the image for this. The documentation in the same folder says that now you have compile "make image". There is no option for image in Makefile. ... (3 Replies)
I compiled a c++ program containing a declaration like this
_IO_ostream_withassign tmpcout;
On compilation, it gave me the error
'_IO_ostream_withassign' was not declared
I have also included the iostream.h file. I think the iostream.h file does not contain the
_IO_ostream_withassign class... (1 Reply)
Hi,
I have a piece of C++ code that can be compiled using g++, but reports an error when compiled with xlC:
xlC -DHAVE_CONFIG_H -I../SRC -I../include -DNoChange -DSPRNG_MPI -q64 -DLONG64=long -I/usr/lpp/ppe.poe/include -DLONG64=long -c -o libsprng_a-bignum.o bignum.cpp
"bignum.cpp",... (1 Reply)
Hi,
I have AIX 5.3 and my code is written in proc . i am getting following error during compilation
Please help?////.....
[H[2J:-d:
Compiling with RMS
cc -w -q32 -qidirfirst -ISource/Header -I/usr/vacpp/include -q32 -DRMS -DDISEC -DDBG -DBIGENDIAN -DBIT32 -c -q32... (0 Replies)
Hello, I am trying to install BBFTP software on my Mac (OS X), and am running into some compilation errors. Here is the code, the specific errors are listed after:
#include <dirent.h>
#include <errno.h>
#include <fnmatch.h>
#include <netinet/in.h>
#include <syslog.h>
#include <sys/stat.h>... (1 Reply)