GLAPI/glGenProgramPipelines: Difference between revisions
< GLAPI
m Renaming category: 'API Reference 4' to 'Core API Reference'. |
m Bot: Adding better formatting. |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
== Function Definition == | == Function Definition == | ||
void '''glGenProgramPipelines'''(GLsizei | void '''glGenProgramPipelines'''(GLsizei {{param|n}}, GLuint *{{param|pipelines}}); | ||
; n | ; n | ||
Line 18: | Line 18: | ||
== Description == | == Description == | ||
'''glGenProgramPipelines''' returns | '''glGenProgramPipelines''' returns {{param|n}} previously unused program pipeline object names in {{param|pipelines}}. These names are marked as used, for the purposes of '''glGenProgramPipelines''' only, but they acquire program pipeline state only when they are first bound. | ||
== Associated Gets == | == Associated Gets == | ||
{{apifunc|glGet}} with argument {{enum|GL_PROGRAM_PIPELINE_BINDING}} | |||
{{apifunc|glIsProgramPipeline}} | |||
== See Also == | == See Also == | ||
{{apifunc|glDeleteProgramPipelines}}, {{apifunc|glBindProgramPipeline}}, {{apifunc|glUseProgramStages}} | |||
== Copyright == | == Copyright == | ||
Line 34: | Line 34: | ||
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:Core API Reference|GenProgramPipelines]] | [[Category:Core API Reference|GenProgramPipelines]] | ||
[[Category:Core API Ref Shader Program Creation|GenProgramPipelines]] |
Latest revision as of 19:36, 27 September 2012
Core in version | 4.6 | |
---|---|---|
Core since version | 4.1 | |
Core ARB extension | ARB_separate_shader_objects |
glGenProgramPipelines: reserve program pipeline object names
Function Definition
void glGenProgramPipelines(GLsizei n, GLuint *pipelines);
- n
- Specifies the number of program pipeline object names to reserve.
- pipelines
- Specifies an array of into which the reserved names will be written.
Description
glGenProgramPipelines returns n previously unused program pipeline object names in pipelines. These names are marked as used, for the purposes of glGenProgramPipelines only, but they acquire program pipeline state only when they are first bound.
Associated Gets
glGet with argument GL_PROGRAM_PIPELINE_BINDING
See Also
glDeleteProgramPipelines, glBindProgramPipeline, 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/.