*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> glTexCoord (3)              
Title
Content
Arch
Section
 

glTexCoord(3G)

Contents


NAME    [Toc]    [Back]

       glTexCoord,   glTexCoord1d,   glTexCoord1f,  glTexCoord1i,
       glTexCoord1s,  glTexCoord2d,  glTexCoord2f,  glTexCoord2i,
       glTexCoord2s,  glTexCoord3d,  glTexCoord3f,  glTexCoord3i,
       glTexCoord13s, glTexCoord4d,  glTexCoord4f,  glTexCoord4i,
       glTexCoord4s, glTexCoord1dv, glTexCoord1fv, glTexCoord1iv,
       glTexCoord1sv,  glTexCoord2dv,   glTexCoord2fv,   glTexCoord2iv,
   glTexCoord2sv,   glTexCoord3dv,   glTexCoord3fv,
       glTexCoord3iv,  glTexCoord13sv,  glTexCoord4dv,   glTexCoord4fv,
  glTexCoord4iv,  glTexCoord4sv  -  set the current
       texture coordinates

SYNOPSIS    [Toc]    [Back]

       void glTexCoord1d(
               GLdouble s ); void glTexCoord1f(
               GLfloat s ); void glTexCoord1i(
               GLint s ); void glTexCoord1s(
               GLshort s ); void glTexCoord2d(
               GLdouble s,
               GLdouble t ); void glTexCoord2s(
               GLshort s,
               GLshort t ); void glTexCoord3d(
               GLdouble s,
               GLdouble t,
               GLdouble r ); void glTexCoord3f(
               GLfloat s,
               GLfloat t,
               GLfloat r ); void glTexCoord3i(
               GLint s,
               GLint t,
               GLint r ); void glTexCoord3s(
               GLshort s,
               GLshort t,
               GLshort r ); void glTexCoord4d(
               GLdouble s,
               GLdouble t,
               GLdouble r,
               GLdouble q ); void glTexCoord4f(
               GLfloat s,
               GLfloat t,
               GLfloat r,
               GLfloat q ); void glTexCoord4i(
               GLint s,
               GLint t,
               GLint r,
               GLint q ); void glTexCoord4s(
               GLshort s,
               GLshort t,
               GLshort r,
               GLshort q );

PARAMETERS    [Toc]    [Back]

       Specify s, t, r, and q texture coordinates. Not all parameters
 are present in all forms of the command.








SYNOPSIS    [Toc]    [Back]

       void glTexCoord1dv(
               const GLdouble *v ); void glTexCoord1fv(
               const GLfloat *v ); void glTexCoord1iv(
               const GLint *v ); void glTexCoord1sv(
               const GLshort *v ); void glTexCoord2dv(
               const GLdouble *v ); void glTexCoord2fv(
               const GLfloat *v ); void glTexCoord2iv(
               const GLint *v ); void glTexCoord2sv(
               const GLshort *v ); void glTexCoord3dv(
               const GLdouble *v ); void glTexCoord3fv(
               const GLfloat *v ); void glTexCoord3iv(
               const GLint *v ); void glTexCoord3sv(
               const GLshort *v ); void glTexCoord4dv(
               const GLdouble *v ); void glTexCoord4fv(
               const GLfloat *v ); void glTexCoord4iv(
               const GLint *v ); void glTexCoord4sv(
               const GLshort *v );

PARAMETERS    [Toc]    [Back]

       Specifies  a  pointer  to  an array of one, two, three, or
       four elements, which in turn specify the s, t,  r,  and  q
       texture coordinates.

DESCRIPTION    [Toc]    [Back]

       glTexCoord()  specifies  texture  coordinates in one, two,
       three, or four dimensions.  glTexCoord1() sets the current
       texture  coordinates  to  (s, 0, 0, 1); a call to glTexCoord2()
 sets them to (s, t, 0, 1). Similarly, glTexCoord3()
       specifies  the  texture  coordinates  as (s, t, r, 1), and
       glTexCoord4() 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, and q are (0,
       0, 0, 1).

NOTES    [Toc]    [Back]

       The current texture coordinates  can  be  updated  at  any
       time.  In particular, glTexCoord() can be called between a
       call to glBegin() and the corresponding call to glEnd().

       When the GL_ARB_imaging extension is  supported,  glTexCoord()
 always updates texture unit GL_TEXTURE0_ARB.

ASSOCIATED GETS    [Toc]    [Back]

       glGet() with argument GL_CURRENT_TEXTURE_COORDS

SEE ALSO    [Toc]    [Back]

      
      
       glTexCoordPointer(3), glVertex(3)



                                                   glTexCoord(3G)
[ Back ]
 Similar pages
Name OS Title
glTexGendv Tru64 control the generation of texture coordinates
glTexGend Tru64 control the generation of texture coordinates
glTexGeni Tru64 control the generation of texture coordinates
glTexGenfv Tru64 control the generation of texture coordinates
gltexgen IRIX control the generation of texture coordinates
glTexGen Tru64 control the generation of texture coordinates
gltexcoordpointerext IRIX define an array of texture coordinates
glTexCoordPointer Tru64 define an array of texture coordinates
gltexcoordpointer IRIX define an array of texture coordinates
glTexGenf Tru64 control the generation of texture coordinates
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service