GLAPI/glDeleteProgramPipelines: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
4.0 API.
 
m Bot: Adding better formatting.
 
(6 intermediate revisions by 2 users not shown)
Line 9: Line 9:
== Function Definition ==
== Function Definition ==


   void '''glDeleteProgramPipelines'''(GLsizei ''n'', const GLuint *''pipelines'');
   void '''glDeleteProgramPipelines'''(GLsizei {{param|n}}, const GLuint *{{param|pipelines}});


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


'''glDeleteProgramPipelines''' deletes the ''n'' program pipeline objects whose names are stored in the array ''pipelines''. Unused names in ''pipelines'' are ignored, as is the name zero. After a program pipeline object is deleted, its name is again unused and it has no contents. If program pipeline object that is currently bound is deleted, the binding for that object reverts to zero and no program pipeline object becomes current.
'''glDeleteProgramPipelines''' deletes the {{param|n}} program pipeline objects whose names are stored in the array {{param|pipelines}}. Unused names in {{param|pipelines}} are ignored, as is the name zero. After a program pipeline object is deleted, its name is again unused and it has no contents. If program pipeline object that is currently bound is deleted, the binding for that object reverts to zero and no program pipeline object becomes current.


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


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


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


[[GLAPI/glGenProgramPipelines|glGenProgramPipelines]], [[GLAPI/glBindProgramPipeline|glBindProgramPipeline]], [[GLAPI/glIsProgramPipeline|glIsProgramPipeline]], [[GLAPI/glUseShaderPrograms|glUseShaderPrograms]], [[GLAPI/glUseProgram|glUseProgram]]
{{apifunc|glGenProgramPipelines}}, {{apifunc|glBindProgramPipeline}}, {{apifunc|glIsProgramPipeline}}, {{apifunc|glUseProgramStages}}


== 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|DeleteProgramPipelines]]
[[Category:Core API Reference|DeleteProgramPipelines]]
[[Category:Core API Ref Shader Program Creation|DeleteProgramPipelines]]

Latest revision as of 19:33, 27 September 2012

glDeleteProgramPipelines
Core in version 4.6
Core since version 4.1
Core ARB extension ARB_separate_shader_objects

glDeleteProgramPipelines: delete program pipeline objects

Function Definition

 void glDeleteProgramPipelines(GLsizei n​, const GLuint *pipelines​);
n
Specifies the number of program pipeline objects to delete.
pipelines
Specifies an array of names of program pipeline objects to delete.

Description

glDeleteProgramPipelines deletes the n​ program pipeline objects whose names are stored in the array pipelines​. Unused names in pipelines​ are ignored, as is the name zero. After a program pipeline object is deleted, its name is again unused and it has no contents. If program pipeline object that is currently bound is deleted, the binding for that object reverts to zero and no program pipeline object becomes current.

Associated Gets

glGet with argument GL_PROGRAM_PIPELINE_BINDING

See Also

glGenProgramPipelines, glBindProgramPipeline, glIsProgramPipeline, glUseProgramStages

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