glIsProgramPipeline(3) determine if a name corresponds to a program pipeline object


GLboolean glIsProgramPipeline(GLuint pipeline);



Specifies a value that may be the name of a program pipeline object.


glIsProgramPipeline returns GL_TRUE if pipeline is currently the name of a program pipeline object. If pipeline is zero, or if pipeline is not the name of a program pipeline object, or if an error occurs, glIsProgramPipeline returns GL_FALSE. If pipeline is a name returned by glGenProgramPipelines(), but that has not yet been bound through a call to glBindProgramPipeline(), then the name is not a program pipeline object and glIsProgramPipeline returns GL_FALSE.


Copyright © 2010 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. m[blue][].