Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glisshader(3g) [osx 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)

Check Out this Related Man Page

GLISSHADER(3G)							   OpenGL Manual						    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/. AUTHORS
opengl.org opengl.org 06/10/2014 GLISSHADER(3G)
Man Page