glIsProgram â Determines if a name corresponds to a program object
C SpecificationGLboolean glIsProgram(
GLuint program)
;
Â
Parametersprogram
Specifies a potential program object.
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
.
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
.
Copyright © 2003-2005 3Dlabs Inc. Ltd. Copyright © 2010-2014 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. https://opencontent.org/openpub/.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4