![]() -> Click here to learn how to get live help <- |
GLGENTEXTURESIndexNAMEglGenTextures - generate texture namesC SPECIFICATIONvoid f3glGenTexturesfP( GLsizei fInfP,f2nfP Specifies the number of texture names to be generated.
DESCRIPTION%f3glGenTexturesfP returns f2nfP texture names in f2texturesfP. 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 %f3glGenTexturesfP. The generated textures have no dimensionality; they assume the dimensionality of the texture target to which they are first bound (see %f3glBindTexturefP). Texture names returned by a call to %f3glGenTexturesfP are not returned by subsequent calls, unless they are first deleted with %f3glDeleteTexturesfP.NOTES%f3glGenTexturesfP is available only if the GL version is 1.1 or greater.ERRORS%f3GL_INVALID_VALUEfP is generated if f2nfP is negative. %f3GL_INVALID_OPERATIONfP is generated if %f3glGenTexturesfP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.ASSOCIATED GETS%f3glIsTexturefPSEE ALSO%f3glBindTexture(3G)fP, %f3glCopyTexImage1D(3G)fP, %f3glCopyTexImage2D(3G)fP, %f3glDeleteTextures(3G)fP, %f3glGet(3G)fP, %f3glGetTexParameter(3G)fP, %f3glTexImage1D(3G)fP, %f3glTexImage2D(3G)fP, %f3glTexImage3D(3G)fP, %f3glTexParameter(3G)fP
Index |