MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
GLMULTITEXCORDARB(3G)                                  GLMULTITEXCORDARB(3G)



NAME
       glultiTexCoord1dARB,,    glultiTexCoord1fARB,,    glultiTexCoord1iARB,,
       glultiTexCoord1sARB,,    glultiTexCoord2dARB,,    glultiTexCoord2fARB,,
       glultiTexCoord2iARB,,    glultiTexCoord2sARB,,    glultiTexCoord3dARB,,
       glultiTexCoord3fARB,,    glultiTexCoord3iARB,,    glultiTexCoord3sARB,,
       glultiTexCoord4dARB,,    glultiTexCoord4fARB,,    glultiTexCoord4iARB,,
       glultiTexCoord4sARB,,   glultiTexCoord1dvARB,,   glultiTexCoord1fvARB,,
       glultiTexCoord1ivARB,,   glultiTexCoord1svARB,,  glultiTexCoord2dvARB,,
       glultiTexCoord2fvARB,,  glultiTexCoord2ivARB,,   glultiTexCoord2svARB,,
       glultiTexCoord3dvARB,,   glultiTexCoord3fvARB,,  glultiTexCoord3ivARB,,
       glultiTexCoord3svARB,,  glultiTexCoord4dvARB,,   glultiTexCoord4fvARB,,
       glultiTexCoord4ivARB,,  glultiTexCoord4svARB - set the current texture
       coordinates


C SPECIFICATION
       void glultiTexCoord1dARB( GLenum target,
                                  GLdouble s )
       void glultiTexCoord1fARB( GLenum target,
                                  GLfloat s )
       void glultiTexCoord1iARB( GLenum target,
                                  GLint s )
       void glultiTexCoord1sARB( GLenum target,
                                  GLshort s )
       void glultiTexCoord2dARB( GLenum target,
                                  GLdouble s,
                                  GLdouble t )
       void glultiTexCoord2fARB( GLenum target,
                                  GLfloat s,
                                  GLfloat t )
       void glultiTexCoord2iARB( GLenum target,
                                  GLint s,
                                  GLint t )
       void glultiTexCoord2sARB( GLenum target,
                                  GLshort s,
                                  GLshort t )
       void glultiTexCoord3dARB( GLenum target,
                                  GLdouble s,
                                  GLdouble t,
                                  GLdouble r )
       void glultiTexCoord3fARB( GLenum target,
                                  GLfloat s,
                                  GLfloat t,
                                  GLfloat r )
       void glultiTexCoord3iARB( GLenum target,
                                  GLint s,
                                  GLint t,
                                  GLint r )
       void glultiTexCoord3sARB( GLenum target,
                                  GLshort s,
                                  GLshort t,
                                  GLshort r )
       void glultiTexCoord4dARB( GLenum target,
                                  GLdouble s,
                                  GLdouble t,
                                  GLdouble r,
                                  GLdouble q )
       void glultiTexCoord4fARB( GLenum target,
                                  GLfloat s,
                                  GLfloat t,
                                  GLfloat r,
                                  GLfloat q )
       void glultiTexCoord4iARB( GLenum target,
                                  GLint s,
                                  GLint t,
                                  GLint r,
                                  GLint q )
       void glultiTexCoord4sARB( GLenum target,
                                  GLshort s,
                                  GLshort t,
                                  GLshort r,
                                  GLshort q )


PARAMETERS
       target  Specifies texture unit whose coordinates  should  be  modified.
               The  number  of  texture units is implementation dependent, but
               must be at least two. Must be one of GLTEXTUREiARB where 0 <=
               i   <  GLMAXTEXTUREUNITSARB,  which  is  an implementation-
               dependent value.

       s, t, r, q
               Specify s, t, r, and q texture coordinates for  target  texture
               unit.   Not all parameters are present in all forms of the com-
               mand.

C SPECIFICATION
       void glultiTexCoord1dvARB( GLenum target,
                                   const GLdouble *v )
       void glultiTexCoord1fvARB( GLenum target,
                                   const GLfloat *v )
       void glultiTexCoord1ivARB( GLenum target,
                                   const GLint *v )
       void glultiTexCoord1svARB( GLenum target,
                                   const GLshort *v )
       void glultiTexCoord2dvARB( GLenum target,
                                   const GLdouble *v )
       void glultiTexCoord2fvARB( GLenum target,
                                   const GLfloat *v )
       void glultiTexCoord2ivARB( GLenum target,
                                   const GLint *v )
       void glultiTexCoord2svARB( GLenum target,
                                   const GLshort *v )
       void glultiTexCoord3dvARB( GLenum target,
                                   const GLdouble *v )
       void glultiTexCoord3fvARB( GLenum target,
                                   const GLfloat *v )
       void glultiTexCoord3ivARB( GLenum target,
                                   const GLint *v )
       void glultiTexCoord3svARB( GLenum target,
                                   const GLshort *v )
       void glultiTexCoord4dvARB( GLenum target,
                                   const GLdouble *v )
       void glultiTexCoord4fvARB( GLenum target,
                                   const GLfloat *v )
       void glultiTexCoord4ivARB( GLenum target,
                                   const GLint *v )
       void glultiTexCoord4svARB( GLenum target,
                                   const GLshort *v )


PARAMETERS
       target Specifies texture unit whose  coordinates  should  be  modified.
              The  number  of  texture  units is implementation dependent, but
              must be at least two. Must be one of GLTEXTUREiARB, where 0 <=
              i       <      the     implementation-dependent     value     of
              GLMAXTEXTUREUNITSARB.

       v      Specifies a pointer to an array of one, two, three, or four ele-
              ments,  which in turn specify the s, t, r, and q texture coordi-
              nates.

DESCRIPTION
       glultiTexCoordARB specifies texture coordinates in one, two, three, or
       four  dimensions.  glultiTexCoord1ARB sets the current texture coordi-
       nates to (s, 0, 0, 1); a  call  to  glultiTexCoord2ARB  sets  them  to
       (s, t, 0, 1).   Similarly,  glultiTexCoord3ARB  specifies  the texture
       coordinates as (s, t, r, 1), and glultiTexCoord4ARB defines  all  four
       components explicitly as (s, t, r, q).

       The current texture coordinates are part of the data that is associated
       with each vertex and with the current raster position.  Initially,  the
       values for s, t, r, q are (0, 0, 0, 1).


NOTES
       glultiTexCoordARB is only supported if GLARBmultitexture is included
       in the string returned by glGetString when  called  with  the  argument
       GLEXTENSIONS.

       The current texture coordinates can be updated at any time.  In partic-
       ular, glultiTexCoordARB can be called between a call  to  glBegin  and
       the corresponding call to glEnd.

       It is always the case that GLTEXTUREiARB = GLTEXTURE00ARB ] i.

ASOCIATED GETS
       glGet  with argument GLCURENTEXTURECORDS with appropriate texture
       unit selected.

SEE ALSO
       glActiveTextureARB,        glClientActiveTextureARB,        glTexCoord,
       glTexCoordPointer, glVertex



                                                        GLMULTITEXCORDARB(3G)
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™