glGenProgramPipelines - OpenGL 4 Reference Pages

## Name

glGenProgramPipelines — reserve program pipeline object names

## C Specification

`void glGenProgramPipelines(` | GLsizei n,
| GLuint *pipelines`)`;

## Parameters

`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`

glIsProgramPipeline

## Version Support

| OpenGL Version
--- | ---
Function / Feature Name | 2.0 | 2.1 | 3.0 | 3.1 | 3.2 | 3.3 | 4.0 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5
`glGenProgramPipelines` | - | - | - | - | - | - | - | ✔ | ✔ | ✔ | ✔ | ✔

## See Also

glDeleteProgramPipelines, glBindProgramPipeline, glIsProgramPipeline, glUseProgramStages, glUseProgram

## Copyright

Copyright © 2010-2014 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/.