1GLMULTITEXCOORDARB(3G)                                  GLMULTITEXCOORDARB(3G)
2
3
4

NAME

6       glMultiTexCoord1dARB,    glMultiTexCoord1fARB,    glMultiTexCoord1iARB,
7       glMultiTexCoord1sARB,    glMultiTexCoord2dARB,    glMultiTexCoord2fARB,
8       glMultiTexCoord2iARB,    glMultiTexCoord2sARB,    glMultiTexCoord3dARB,
9       glMultiTexCoord3fARB,    glMultiTexCoord3iARB,    glMultiTexCoord3sARB,
10       glMultiTexCoord4dARB,    glMultiTexCoord4fARB,    glMultiTexCoord4iARB,
11       glMultiTexCoord4sARB,   glMultiTexCoord1dvARB,   glMultiTexCoord1fvARB,
12       glMultiTexCoord1ivARB,   glMultiTexCoord1svARB,  glMultiTexCoord2dvARB,
13       glMultiTexCoord2fvARB,  glMultiTexCoord2ivARB,   glMultiTexCoord2svARB,
14       glMultiTexCoord3dvARB,   glMultiTexCoord3fvARB,  glMultiTexCoord3ivARB,
15       glMultiTexCoord3svARB,  glMultiTexCoord4dvARB,   glMultiTexCoord4fvARB,
16       glMultiTexCoord4ivARB,  glMultiTexCoord4svARB - set the current texture
17       coordinates
18
19

C SPECIFICATION

21       void glMultiTexCoord1dARB( GLenum target,
22                                  GLdouble s )
23       void glMultiTexCoord1fARB( GLenum target,
24                                  GLfloat s )
25       void glMultiTexCoord1iARB( GLenum target,
26                                  GLint s )
27       void glMultiTexCoord1sARB( GLenum target,
28                                  GLshort s )
29       void glMultiTexCoord2dARB( GLenum target,
30                                  GLdouble s,
31                                  GLdouble t )
32       void glMultiTexCoord2fARB( GLenum target,
33                                  GLfloat s,
34                                  GLfloat t )
35       void glMultiTexCoord2iARB( GLenum target,
36                                  GLint s,
37                                  GLint t )
38       void glMultiTexCoord2sARB( GLenum target,
39                                  GLshort s,
40                                  GLshort t )
41       void glMultiTexCoord3dARB( GLenum target,
42                                  GLdouble s,
43                                  GLdouble t,
44                                  GLdouble r )
45       void glMultiTexCoord3fARB( GLenum target,
46                                  GLfloat s,
47                                  GLfloat t,
48                                  GLfloat r )
49       void glMultiTexCoord3iARB( GLenum target,
50                                  GLint s,
51                                  GLint t,
52                                  GLint r )
53       void glMultiTexCoord3sARB( GLenum target,
54                                  GLshort s,
55                                  GLshort t,
56                                  GLshort r )
57       void glMultiTexCoord4dARB( GLenum target,
58                                  GLdouble s,
59                                  GLdouble t,
60                                  GLdouble r,
61                                  GLdouble q )
62       void glMultiTexCoord4fARB( GLenum target,
63                                  GLfloat s,
64                                  GLfloat t,
65                                  GLfloat r,
66                                  GLfloat q )
67       void glMultiTexCoord4iARB( GLenum target,
68                                  GLint s,
69                                  GLint t,
70                                  GLint r,
71                                  GLint q )
72       void glMultiTexCoord4sARB( GLenum target,
73                                  GLshort s,
74                                  GLshort t,
75                                  GLshort r,
76                                  GLshort q )
77
78

PARAMETERS

80       target  Specifies texture unit whose coordinates  should  be  modified.
81               The  number  of  texture units is implementation dependent, but
82               must be at least two. Must be one of GL_TEXTUREi_ARB where 0  ≤
83               i < GL_MAX_TEXTURE_UNITS_ARB, which is an implementation-depen‐
84               dent value.
85
86       s, t, r, q
87               Specify s, t, r, and q texture coordinates for  target  texture
88               unit.   Not all parameters are present in all forms of the com‐
89               mand.
90

C SPECIFICATION

92       void glMultiTexCoord1dvARB( GLenum target,
93                                   const GLdouble *v )
94       void glMultiTexCoord1fvARB( GLenum target,
95                                   const GLfloat *v )
96       void glMultiTexCoord1ivARB( GLenum target,
97                                   const GLint *v )
98       void glMultiTexCoord1svARB( GLenum target,
99                                   const GLshort *v )
100       void glMultiTexCoord2dvARB( GLenum target,
101                                   const GLdouble *v )
102       void glMultiTexCoord2fvARB( GLenum target,
103                                   const GLfloat *v )
104       void glMultiTexCoord2ivARB( GLenum target,
105                                   const GLint *v )
106       void glMultiTexCoord2svARB( GLenum target,
107                                   const GLshort *v )
108       void glMultiTexCoord3dvARB( GLenum target,
109                                   const GLdouble *v )
110       void glMultiTexCoord3fvARB( GLenum target,
111                                   const GLfloat *v )
112       void glMultiTexCoord3ivARB( GLenum target,
113                                   const GLint *v )
114       void glMultiTexCoord3svARB( GLenum target,
115                                   const GLshort *v )
116       void glMultiTexCoord4dvARB( GLenum target,
117                                   const GLdouble *v )
118       void glMultiTexCoord4fvARB( GLenum target,
119                                   const GLfloat *v )
120       void glMultiTexCoord4ivARB( GLenum target,
121                                   const GLint *v )
122       void glMultiTexCoord4svARB( GLenum target,
123                                   const GLshort *v )
124
125

PARAMETERS

127       target Specifies texture unit whose  coordinates  should  be  modified.
128              The  number  of  texture  units is implementation dependent, but
129              must be at least two. Must be one of GL_TEXTUREi_ARB, where 0  ≤
130              i      <      the      implementation-dependent     value     of
131              GL_MAX_TEXTURE_UNITS_ARB.
132
133       v      Specifies a pointer to an array of one, two, three, or four ele‐
134              ments,  which in turn specify the s, t, r, and q texture coordi‐
135              nates.
136

DESCRIPTION

138       glMultiTexCoordARB specifies texture coordinates in one, two, three, or
139       four  dimensions.  glMultiTexCoord1ARB sets the current texture coordi‐
140       nates to (s, 0, 0, 1); a  call  to  glMultiTexCoord2ARB  sets  them  to
141       (s, t, 0, 1).   Similarly,  glMultiTexCoord3ARB  specifies  the texture
142       coordinates as (s, t, r, 1), and glMultiTexCoord4ARB defines  all  four
143       components explicitly as (s, t, r, q).
144
145       The current texture coordinates are part of the data that is associated
146       with each vertex and with the current raster position.  Initially,  the
147       values for s, t, r, q are (0, 0, 0, 1).
148

NOTES

150       glMultiTexCoordARB is only supported if GL_ARB_multitexture is included
151       in the string returned by glGetString when  called  with  the  argument
152       GL_EXTENSIONS.
153
154       The current texture coordinates can be updated at any time.  In partic‐
155       ular, glMultiTexCoordARB can be called between a call  to  glBegin  and
156       the corresponding call to glEnd.
157
158       It is always the case that GL_TEXTUREi_ARB = GL_TEXTURE0_ARB + i.
159

ASSOCIATED GETS

161       glGet  with argument GL_CURRENT_TEXTURE_COORDS with appropriate texture
162       unit selected.
163

SEE ALSO

165       glActiveTextureARB(3G),  glClientActiveTextureARB(3G),  glTexCoord(3G),
166       glTexCoordPointer(3G), glVertex(3G)
167
168
169
170                                                        GLMULTITEXCOORDARB(3G)
Impressum