Light | Dark

# docs.GL

OpenGL 4
OpenGL ES 3

# glGenTransformFeedbacks

## Name

glGenTransformFeedbacks — reserve transform feedback object names

## C Specification

`void glGenTransformFeedbacks(` | GLsizei n,
| GLuint *ids`)`;

## Parameters

`n`

  Specifies the number of transform feedback object names to reserve.

`ids`

  Specifies an array of into which the reserved names will be written.

## Description

`glGenTransformFeedbacks` returns `n` transform feedback object names in `ids`. There is no guarantee that the names form a contiguous set of integers; however, it is guaranteed that none of the returned names was in use immediately before the call to `glGenTransformFeedbacks`.

Transform feedback object names returned by a call to `glGenTransformFeedbacks` are not returned by subsequent calls, unless they are first deleted with glDeleteTransformFeedbacks.

The names returned in `ids` are marked as used, for the purposes of `glGenTransformFeedbacks` only, but they acquire state and type only when they are first bound.

## Associated Gets

glGet with argument `GL_TRANSFORM_FEEDBACK_BINDING`

glIsTransformFeedback

## API Version Support

| OpenGL ES API Version
--- | ---
Function Name | 2.0 | 3.0 | 3.1
glGenTransformFeedbacks | - | ✔ | ✔

## See Also

glDeleteTransformFeedbacks, glBindTransformFeedback, glIsTransformFeedback, glBeginTransformFeedback, glPauseTransformFeedback, glResumeTransformFeedback, glEndTransformFeedback

## 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. https://opencontent.org/openpub/.

Think you can improve this page? Edit this page on GitHub.