NAME
glGenTextures
- generate texture names
C SPECIFICATION
void ggllGGeennTTeexxttuurreess(
GLsizei _n,
GLuint _*_t_e_x_t_u_r_e_s )
PARAMETERS
-
_n
-
Specifies the number of texture names to be generated.
-
_t_e_x_t_u_r_e_s
-
Specifies an array in which the generated texture names are stored.
DESCRIPTION
ggllGGeennTTeexxttuurreess returns _n texture names in _t_e_x_t_u_r_e_s.
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 ggllGGeennTTeexxttuurreess.
The generated textures have no dimensionality; they assume the dimensionality
of the texture target to which they are first bound
(see ggllBBiinnddTTeexxttuurree).
Texture names returned by a call to ggllGGeennTTeexxttuurreess are not returned by
subsequent calls, unless they are first deleted with
ggllDDeelleetteeTTeexxttuurreess.
NOTES
ggllGGeennTTeexxttuurreess is available only if the GL version is 1.1 or greater.
ERRORS
GGLL__IINNVVAALLIIDD__VVAALLUUEE is generated if _n is negative.
GGLL__IINNVVAALLIIDD__OOPPEERRAATTIIOONN is generated if ggllGGeennTTeexxttuurreess is executed
between the execution of ggllBBeeggiinn and the corresponding
execution of ggllEEnndd.
ASSOCIATED GETS
ggllIIssTTeexxttuurree
SEE ALSO
ggllBBiinnddTTeexxttuurree((33GG)),
ggllCCooppyyTTeexxIImmaaggee11DD((33GG)),
ggllCCooppyyTTeexxIImmaaggee22DD((33GG)),
ggllDDeelleetteeTTeexxttuurreess((33GG)),
ggllGGeett((33GG)),
ggllGGeettTTeexxPPaarraammeetteerr((33GG)),
ggllTTeexxIImmaaggee11DD((33GG)),
ggllTTeexxIImmaaggee22DD((33GG)),
ggllTTeexxIImmaaggee33DD((33GG)),
ggllTTeexxPPaarraammeetteerr((33GG))