GLAPI/glIsTransformFeedback: Difference between revisions
m Bot: Adding better formatting. |
m Bot: Adding better formatting. |
||
Line 16: | Line 16: | ||
== Description == | == Description == | ||
'''glIsTransformFeedback''' returns {{ | '''glIsTransformFeedback''' returns {{enum|GL_TRUE}} if {{param|id}} is currently the name of a transform feedback object. If {{param|id}} is zero, or if {{code|id}} is not the name of a transform feedback object, or if an error occurs, '''glIsTransformFeedback''' returns {{enum|GL_FALSE}}. If {{param|id}} is a name returned by {{apifunc|glGenTransformFeedbacks}}, but that has not yet been bound through a call to {{apifunc|glBindTransformFeedback}}, then the name is not a transform feedback object and '''glIsTransformFeedback''' returns {{enum|GL_FALSE}}. | ||
== See Also == | == See Also == |
Revision as of 17:26, 29 April 2012
Core in version | 4.6 | |
---|---|---|
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/.