GLAPI/glIsTransformFeedback

From OpenGL.org
Jump to: navigation, search
glIsTransformFeedback
Core in version 4.4
Core since version 4.0
Core ARB extension ARB_transform_feedback2

glIsTransformFeedback: determine if a name corresponds to a transform feedback object

Function Definition

 GLboolean glIsTransformFeedback(GLuint id​);
id
Specifies a value that may be the name of a transform feedback object.

Description

glIsTransformFeedback returns GL_TRUE​ if id​ is currently the name of a transform feedback object. If id​ is zero, or if id​ is not the name of a transform feedback object, or if an error occurs, glIsTransformFeedback returns GL_FALSE​. If id​ is a name returned by glGenTransformFeedbacks, but that has not yet been bound through a call to glBindTransformFeedback, then the name is not a transform feedback object and glIsTransformFeedback returns GL_FALSE​.

See Also

glGenTransformFeedbacks, glBindTransformFeedback, glDeleteTransformFeedbacks

Copyright

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. http://opencontent.org/openpub/.