GLTEXCOORD


HOME

GLTEXCOORD

NAME
C SPECIFICATION
PARAMETERS
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ASSOCIATED GETS
SEE ALSO

NAME

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

C SPECIFICATION

void glTexCoord1d( GLdouble s )
void glTexCoord1f( GLfloat s )
void glTexCoord1i( GLint s )
void glTexCoord1s( GLshort s )
void glTexCoord2d( GLdouble s,

GLdouble t )

void glTexCoord2f( GLfloat s,

GLfloat t )

void glTexCoord2i( GLint s,

GLint 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

s, t, r, q

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

C SPECIFICATION

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

v

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

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

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

glGet with argument GL_CURRENT_TEXTURE_COORDS

SEE ALSO

glTexCoordPointer(3G), glVertex(3G)



More Linux Commands

manpages/vfork.2.html
vfork(2) - create a child process and block parent (ManPage)
Standard description (From POSIX.1) The vfork() function has the same effect as fork(2), except that the behavior is undefined if the process created by vfork()

manpages/fcgistarter2.8.html
fcgistarter2(8) Start a FastCGI program - Linux manual page
NOTE Currently only works on Unix systems. OPTIONS -c command FastCGI program -p port Port which the program will listen on -i interface Interface which the pro

manpages/tcl_wordBreakAfter.n.html
tcl_wordBreakAfter(n) - standard library of Tcl procedures
Tcl includes a library of Tcl procedures for commonly-needed functions. The procedures defined in the Tcl library are generic ones suitable for use by many diff

manpages/ExtUtils::MM_DOS.3pm.html
ExtUtils::MM_DOS(3pm) - DOS specific subclass of ExtUtils::M
This is a subclass of ExtUtils::MM_Unix which contains functionality for DOS . Unless otherwise stated, it works just like ExtUtils::MM_Unix Overridden methods

blog-dev/cmds.html
Linux Concepts, Commands and Examples
Linux Concepts, Commands and the Command Interpreter. Examples and explanations of key commands, concepts and information sources. Describes I/O, redirection, expansion, pipes, etc. Contains links to Linux manpages.

manpages/mrftopbm.1.html
mrftopbm(1) - convert an MRF image to PBM format (Man Page)
This program is part of Netpbm(1) mrftopbm converts an MRF image to PBM format. mrftopbm takes the MRF image from the file named by the input.mrf argument, or S

manpages/gnutls_certificate_set_x509_key_file.3.html
gnutls_certificate_set_x509_key_file(3) - API function......
gnutls_certificate_set_x509_key_file.3 - This function sets a certificate/private key pair in the gnutls_certificate_credentials_t structure. This function may

manpages/sendfile64.2.html
sendfile64(2) - transfer data between file descriptors......
sendfile() copies data between one file descriptor and another. Because this copying is done within the kernel, sendfile() is more efficient than the combinatio

manpages/XtUnmanageChildren.3.html
XtUnmanageChildren(3) - manage and unmanage children........
The XtManageChildren function performs the following: * Issues an error if the children do not all have the same parent or if the parent is not a subclass of co

manpages/xcutsel.1.html
xcutsel(1) - interchange between cut buffer and selection...
The xcutsel program is used to copy the current selection into a cut buffer and to make a selection that contains the current contents of the cut buffer. It act

manpages/mysql_install_db.1.html
mysql_install_db(1) - initialize MySQL data directory.......
mysql_install_db initializes the MySQL data directory and creates the system tables that it contains, if they do not exist. To invoke mysql_install_db, use the

manpages/getprotoent.3.html
getprotoent(3) - get protocol entry - Linux manual page.....
The getprotoent() function reads the next entry from the protocols database (see protocols(5)) and returns a protoent structure containing the broken-out fields





We can't live, work or learn in freedom unless the software we use is free.