1GLGENTEXTURES(3G) [FIXME: manual] GLGENTEXTURES(3G)
2
3
4
6 glGenTextures - generate texture names
7
9 void glGenTextures(GLsizei n, GLuint * textures);
10
12 n
13 Specifies the number of texture names to be generated.
14
15 textures
16 Specifies an array in which the generated texture names are stored.
17
19 glGenTextures returns n texture names in textures. There is no
20 guarantee that the names form a contiguous set of integers; however, it
21 is guaranteed that none of the returned names was in use immediately
22 before the call to glGenTextures.
23
24 The generated textures have no dimensionality; they assume the
25 dimensionality of the texture target to which they are first bound (see
26 glBindTexture()).
27
28 Texture names returned by a call to glGenTextures are not returned by
29 subsequent calls, unless they are first deleted with
30 glDeleteTextures().
31
33 GL_INVALID_VALUE is generated if n is negative.
34
36 glIsTexture()
37
39 ┌──────────────┬───────────────────────────────────────────────────────────────────────┐
40 │ │ OpenGL Version │
41 ├──────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
42 │Function │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
43 │/ │ │ │ │ │ │ │ │ │ │ │ │ │
44 │Feature │ │ │ │ │ │ │ │ │ │ │ │ │
45 │Name │ │ │ │ │ │ │ │ │ │ │ │ │
46 ├──────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
47 │glGenTextures │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │
48 └──────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
49
51 glBindTexture(), glCopyTexImage1D(), glCopyTexImage2D(),
52 glDeleteTextures(), glGet(), glGetTexParameter(), glTexImage1D(),
53 glTexImage2D(), glTexImage3D(), glTexParameter()
54
56 Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014
57 Khronos Group. This document is licensed under the SGI Free Software B
58 License. For details, see http://oss.sgi.com/projects/FreeB/.
59
61 Copyright © 1991-2006 Silicon Graphics, Inc.
62 Copyright © 2010-2014 Khronos Group
63
64
65
66[FIXME: source] 07/13/2018 GLGENTEXTURES(3G)