GLAPI/glDeleteTransformFeedbacks: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
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 ==


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


; n
; n
Line 18: Line 18:
== Description ==
== Description ==


'''glDeleteTransformFeedbacks''' deletes the ''n'' transform feedback objects whose names are stored in the array ''ids''. Unused names in ''ids'' are ignored, as is the name zero. After a transform feedback object is deleted, its name is again unused and it has no contents. If an active transform feedback object is deleted, its name immediately becomes unused, but the underlying object is not deleted until it is no longer active.
'''glDeleteTransformFeedbacks''' deletes the {{param|n}} transform feedback objects whose names are stored in the array {{param|ids}}. Unused names in {{param|ids}} are ignored, as is the name zero. After a transform feedback object is deleted, its name is again unused and it has no contents. If an active transform feedback object is deleted, its name immediately becomes unused, but the underlying object is not deleted until it is no longer active.


== Associated Gets ==
== Associated Gets ==


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


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


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


== Copyright ==
== Copyright ==
Line 32: Line 32:
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 4|DeleteTransformFeedbacks]]
[[Category:Core API Ref Transform Feedback|DeleteTransformFeedbacks]]
[[Category:Core API Reference|DeleteTransformFeedbacks]]

Latest revision as of 19:33, 27 September 2012

glDeleteTransformFeedbacks
Core in version 4.6
Core since version 4.0
Core ARB extension ARB_transform_feedback2

glDeleteTransformFeedbacks: delete transform feedback objects

Function Definition

 void glDeleteTransformFeedbacks(GLsizei n​, const GLuint *ids​);
n
Specifies the number of transform feedback objects to delete.
ids
Specifies an array of names of transform feedback objects to delete.

Description

glDeleteTransformFeedbacks deletes the n​ transform feedback objects whose names are stored in the array ids​. Unused names in ids​ are ignored, as is the name zero. After a transform feedback object is deleted, its name is again unused and it has no contents. If an active transform feedback object is deleted, its name immediately becomes unused, but the underlying object is not deleted until it is no longer active.

Associated Gets

glGet with argument GL_TRANSFORM_FEEDBACK_BINDING

See Also

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