Unix and Linux Discussions Tagged with c program |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
4,998 |
Programming |
|
|
|
14 |
9,783 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,590 |
Programming |
|
|
|
6 |
6,189 |
Programming |
|
|
|
1 |
2,888 |
Programming |
|
|
|
8 |
11,920 |
Homework & Coursework Questions |
|
|
|
1 |
8,824 |
Homework & Coursework Questions |
|
|
|
2 |
4,962 |
Programming |
|
|
|
2 |
3,061 |
Programming |
|
|
|
2 |
8,700 |
Programming |
|
|
|
1 |
12,823 |
Programming |
|
|
|
2 |
2,584 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
6,163 |
Programming |
|
|
|
2 |
2,253 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
17,489 |
Cybersecurity |
|
|
|
3 |
6,604 |
Shell Programming and Scripting |
|
|
|
3 |
2,619 |
Chat with iBot - Our RSS Robot Girl |
|
|
|
0 |
3,071 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,687 |
Shell Programming and Scripting |
|
|
|
0 |
2,587 |
Shell Programming and Scripting |
|
|
|
5 |
11,720 |
Shell Programming and Scripting |
|
|
|
8 |
15,187 |
Programming |
|
|
|
0 |
11,343 |
Programming |
|
|
|
3 |
10,958 |
BSD |
|
|
|
1 |
4,354 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,382 |
Programming |
|
|
|
7 |
9,464 |
Programming |
|
|
|
9 |
5,891 |
Programming |
|
|
|
1 |
2,714 |
Programming |
|
|
|
3 |
9,586 |
Programming |
|
|
|
3 |
5,237 |
Programming |
|
|
|
1 |
3,095 |
Programming |
|
|
|
3 |
5,404 |
Programming |
|
|
|
3 |
4,162 |
Programming |
|
|
|
3 |
7,079 |
Programming |
|
|
|
1 |
10,846 |
Programming |
|
|
|
1 |
8,415 |
Programming |
|
|
|
2 |
2,441 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,085 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
17,926 |
UNIX for Dummies Questions & Answers |
GLISPROGRAM(3G) OpenGL 3.3 GLISPROGRAM(3G)
NAME
glIsProgram - Determines if a name corresponds to a program object
C SPECIFICATION
GLboolean glIsProgram(GLuint program);
PARAMETERS
program
Specifies a potential program object.
DESCRIPTION
glIsProgram returns GL_TRUE if program is the name of a program object previously created with glCreateProgram() and not yet deleted with
glDeleteProgram(). If program is zero or a non-zero value that is not the name of a program object, or if an error occurs, glIsProgram
returns GL_FALSE.
NOTES
No error is generated if program is not a valid program object name.
A program object marked for deletion with glDeleteProgram() but still in use as part of current rendering state is still considered a
program object and glIsProgram will return GL_TRUE.
ASSOCIATED GETS
glGet() with the argument GL_CURRENT_PROGRAM
glGetActiveAttrib() with arguments program and the index of an active attribute variable
glGetActiveUniform() with arguments program and the index of an active uniform variable
glGetAttachedShaders() with argument program
glGetAttribLocation() with arguments program and the name of an attribute variable
glGetProgram() with arguments program and the parameter to be queried
glGetProgramInfoLog() with argument program
glGetUniform() with arguments program and the location of a uniform variable
glGetUniformLocation() with arguments program and the name of a uniform variable
SEE ALSO
glAttachShader(), glBindAttribLocation(), glCreateProgram(), glDeleteProgram(), glDetachShader(), glLinkProgram(), glUniform(),
glUseProgram(), glValidateProgram()
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 GLISPROGRAM(3G)