GLAPI/glGenTransformFeedbacks: Difference between revisions
< GLAPI
m Renaming category: 'GL 4 API Transform Feedback' to 'Core API Ref Transform Feedback'. |
m Bot: Adding better formatting. |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
== Function Definition == | == Function Definition == | ||
void '''glGenTransformFeedbacks'''(GLsizei | void '''glGenTransformFeedbacks'''(GLsizei {{param|n}}, GLuint *{{param|ids}}); | ||
; n | ; n | ||
Line 18: | Line 18: | ||
== Description == | == Description == | ||
'''glGenTransformFeedbacks''' returns | '''glGenTransformFeedbacks''' returns {{param|n}} previously unused transform feedback object names in {{param|ids}}. These names are marked as used, for the purposes of '''glGenTransformFeedbacks''' only, but they acquire transform feedback state only when they are first bound. | ||
== Associated Gets == | == Associated Gets == | ||
{{apifunc|glGet}} with argument {{enum|GL_TRANSFORM_FEEDBACK_BINDING}} | |||
{{apifunc|glIsTransformFeedback}} | |||
== See Also == | == See Also == | ||
{{apifunc|glDeleteTransformFeedbacks}}, {{apifunc|glBindTransformFeedback}}, {{apifunc|glIsTransformFeedback}} | |||
== Copyright == | == Copyright == | ||
Line 34: | Line 34: | ||
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:Core API Ref Transform Feedback|GenTransformFeedbacks]] | [[Category:Core API Ref Transform Feedback|GenTransformFeedbacks]] | ||
[[Category:Core API Reference|GenTransformFeedbacks]] |
Latest revision as of 19:36, 27 September 2012
Core in version | 4.6 | |
---|---|---|
Core since version | 4.0 | |
Core ARB extension | ARB_transform_feedback2 |
glGenTransformFeedbacks: reserve transform feedback object names
Function Definition
void glGenTransformFeedbacks(GLsizei n, GLuint *ids);
- n
- Specifies the number of transform feedback object names to reserve.
- ids
- Specifies an array of into which the reserved names will be written.
Description
glGenTransformFeedbacks returns n previously unused transform feedback object names in ids. These names are marked as used, for the purposes of glGenTransformFeedbacks only, but they acquire transform feedback state only when they are first bound.
Associated Gets
glGet with argument GL_TRANSFORM_FEEDBACK_BINDING
See Also
glDeleteTransformFeedbacks, glBindTransformFeedback, glIsTransformFeedback
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/.