Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glGenTexturesEXT(3gl) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GLGENTEXTURESEXT()

NAME

glGenTexturesEXT − generate texture names
 

C SPECIFICATION

void glGenTexturesEXT( GLsizei n,

GLuint ∗textures )

 

PARAMETERS

n The number of texture names to be generated. 

textures An array in which the generated texture names are stored. 

DESCRIPTION

glGenTexturesEXT returns n texture names in textures.  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 glGenTexturesEXT. 

The generated textures have no dimensionality; they assume the dimensionality of the texture target to which they are first bound (see glBindTextureEXT). 

Texture names returned by a call to glGenTexturesEXT will not be returned by subsequent calls, unless they are first deleted with glDeleteTexturesEXT. 

glGenTexturesEXT is not included in display lists. 

NOTES

glGenTexturesEXT is part of the EXT_texture_object extension, not part of the core GL command set.  If GL_EXT_texture_object is included in the string returned by glGetString, when called with argument GL_EXTENSIONS, extension EXT_texture_object is supported by the connection. 

ERRORS

GL_INVALID_VALUE is generated if n is negative. 

GL_INVALID_OPERATION is generated if glGenTexturesEXT is executed between the execution of glBegin and the corresponding execution of glEnd. 

ASSOCIATED GETS

glIsTextureEXT

SEE ALSO

glBindTextureEXT, glDeleteTexturesEXT, glGet, glGetTexParameter, glTexImage1D, glTexImage2D, glTexImage3DEXT, glTexParameter. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026