X-Git-Url: http://git.hcoop.net/clinton/guile-figl.git/blobdiff_plain/b002944dd992dc5a273e0067504beb48e1ae3d1c..a6a00658f26c164551287799b194cc2f07eb78be:/upstream-man-pages/man2/xhtml/glCompileShader.xml diff --git a/upstream-man-pages/man2/xhtml/glCompileShader.xml b/upstream-man-pages/man2/xhtml/glCompileShader.xml deleted file mode 100644 index fb5470d..0000000 --- a/upstream-man-pages/man2/xhtml/glCompileShader.xml +++ /dev/null @@ -1,37 +0,0 @@ - - -
glCompileShader â Compiles a shader object
void glCompileShader( | GLuint  | shader) ; |
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.
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.
GL_INVALID_OPERATION
is generated if
- glCompileShader
is executed between the
- execution of
- glBegin
- and the corresponding execution of
- glEnd.
glGetShaderInfoLog
- with argument shader
glGetShader
- with arguments shader
and
- GL_COMPILE_STATUS
- Copyright © 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/. -