GLAPI/glIsTransformFeedback: Difference between revisions
4.0 API. |
m Bot: Adding better formatting. |
||
(5 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Function Definition == | == Function Definition == | ||
GLboolean '''glIsTransformFeedback'''(GLuint | GLboolean '''glIsTransformFeedback'''(GLuint {{param|id}}); | ||
; id | ; id | ||
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 {{param|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 == | ||
{{apifunc|glGenTransformFeedbacks}}, {{apifunc|glBindTransformFeedback}}, {{apifunc|glDeleteTransformFeedbacks}} | |||
== Copyright == | == Copyright == | ||
Line 26: | Line 26: | ||
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/ http://opencontent.org/openpub/]. | 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/ http://opencontent.org/openpub/]. | ||
[[Category:API Reference | [[Category:Core API Ref Transform Feedback|IsTransformFeedback]] | ||
[[Category:Core API Reference|IsTransformFeedback]] |
Latest revision as of 08:30, 13 August 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/.