GLAPI/glGenTransformFeedbacks: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
m Renaming category: 'API Reference 4' to 'Core API Reference'.
m Bot: Adding better formatting.
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
== Function Definition ==
== Function Definition ==


   void '''glGenTransformFeedbacks'''(GLsizei ''n'', GLuint *''ids'');
   void '''glGenTransformFeedbacks'''(GLsizei {{param|n}}, GLuint *{{param|ids}});


; n
; n
Line 18: Line 18:
== Description ==
== 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.
'''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 ==


[[GLAPI/glGet|glGet]] with argument {{code|GL_TRANSFORM_FEEDBACK_BINDING}}
{{apifunc|glGet}} with argument {{enum|GL_TRANSFORM_FEEDBACK_BINDING}}


[[GLAPI/glIsTransformFeedback|glIsTransformFeedback]]
{{apifunc|glIsTransformFeedback}}


== See Also ==
== See Also ==


[[GLAPI/glDeleteTransformFeedbacks|glDeleteTransformFeedbacks]], [[GLAPI/glBindTransformFeedback|glBindTransformFeedback]], [[GLAPI/glIsTransformFeedback|glIsTransformFeedback]], [[GLAPI/glBeginTransformFeedback|glBeginTransformFeedback]], [[GLAPI/glPauseTransformFeedback|glPauseTransformFeedback]], [[GLAPI/glResumeTransformFeedback|glResumeTransformFeedback]], [[GLAPI/glEndTransformFeedback|glEndTransformFeedback]]
{{apifunc|glDeleteTransformFeedbacks}}, {{apifunc|glBindTransformFeedback}}, {{apifunc|glIsTransformFeedback}}


== Copyright ==
== Copyright ==

Latest revision as of 19:36, 27 September 2012

glGenTransformFeedbacks
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

glIsTransformFeedback

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/.