Gl.GenTextures (gb.opengl)
Static Function GenTextures ( Count As Integer ) As Integer[]
Generate texture names.
Parameters
- n
-
Specifies the number of texture names to be generated.
- textures
-
Specifies an array in which the generated texture names are stored.
Description
Gl.GenTextures 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
Gl.GenTextures.
The generated textures have no dimensionality; they assume the dimensionality
of the texture target to which they are first bound
(see
Gl.BindTexture).
Texture names returned by a call to
Gl.GenTextures are not returned by
subsequent calls, unless they are first deleted with
Gl.DeleteTextures.
Errors
Gl.INVALID_VALUE is generated if
n is negative.
Associated Gets
Gl.IsTexture
See Also
Gl.BindTexture,
Gl.CopyTexImage1D,
Gl.CopyTexImage2D,
Gl.DeleteTextures,
Gl.Get,
Gl.GetTexParameter,
Gl.TexImage1D,
Gl.TexImage2D,
Gl.TexImage3D,
Gl.TexParameter
Copyright
Copyright © 1991-2006
Silicon Graphics, Inc. This document is licensed under the SGI
Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB.