Difference between revisions of "GLAPI/glDeleteProgramPipelines"

From OpenGL Wiki
Jump to navigation Jump to search
m (Bot: Adding better formatting.)
m (Bot: Adding better formatting.)
Line 22: Line 22:
 
== Associated Gets ==
 
== Associated Gets ==
  
{{apifunc|glGet}} with argument {{code|GL_PROGRAM_PIPELINE_BINDING}}
+
{{apifunc|glGet}} with argument {{enum|GL_PROGRAM_PIPELINE_BINDING}}
  
 
== See Also ==
 
== See Also ==

Revision as of 17:18, 29 April 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, glUseProgram

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