GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLGENTEXTURES

GLGENTEXTURES

Index
 

NAME

glGenTextures - generate texture names

 

C SPECIFICATION

void f3glGenTexturesfP( GLsizei fInfP,
f2nfP
Specifies the number of texture names to be generated.
f2texturesfP
Specifies an array in which the generated texture names are stored.
 

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

%f3glIsTexturefP  

SEE 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

NAME
C SPECIFICATION
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO