GLAPI/glDeleteTransformFeedbacks: 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.
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 {{code|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}}, {{apifunc|glBeginTransformFeedback}}, {{apifunc|glPauseTransformFeedback}}, {{apifunc|glResumeTransformFeedback}}, {{apifunc|glEndTransformFeedback}}


== Copyright ==
== Copyright ==

Revision as of 01:16, 29 April 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, glBeginTransformFeedback, glPauseTransformFeedback, glResumeTransformFeedback, glEndTransformFeedback

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