GLTEXCOORD
NAMEC 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/attributes.3pm.html
attributes(3pm) - get/set subroutine or variable attributes
Subroutine declarations and definitions may optionally have attribute lists associated with them. (Variable my declarations also may, but see the warning below.
manpages/directfbrc.5.html
directfbrc(5) - DirectFB configuration file - Linux man page
The directfbrc file is a configuration file read by all DirectFB applications on startup. There are two of these: a system-wide one stored in /etc/directfbrc an
manpages/ldap_count_references.3.html
ldap_count_references(3) - Stepping through continuation ref
These routines are used to step through the continuation references in a result chain received from ldap_result(3) or the synchronous LDAP search operation rout
manpages/madvise.2.html
madvise(2) - give advice about use of memory (Man Page).....
The madvise() system call advises the kernel about how to handle paging input/output in the address range beginning at address addr and with size length bytes.
manpages/gnutls_x509_crt_list_import.3.html
gnutls_x509_crt_list_import(3) - API function (Man Page)....
gnutls_x509_crt_list_import.3 - This function will convert the given PEM encoded certificate list to the native gnutls_x509_crt_t format. The output will be sto
manpages/Tcl_GetUnicode.3.html
Tcl_GetUnicode(3) - manipulate Tcl objects as strings.......
The procedures described in this manual entry allow Tcl objects to be manipulated as string values. They use the internal representation of the object to store
manpages/gnutls_openpgp_privkey_sign_hash.3.html
gnutls_openpgp_privkey_sign_hash(3) - API function (ManPage)
This function will sign the given hash using the private key. You should use gnutls_openpgp_privkey_set_preferred_key_id() before calling this function to set t
manpages/linphone.1.html
linphone(1) - Gnome interface of linphone, a SIP compatible
Linphone can be started without any extra argument. All parameters are accessible from the property box. OPTIONS --help Output help information and exit. --vers
manpages/XSegment.3.html
XSegment(3) - draw lines, polygons, and line structure......
The XDrawLine function uses the components of the specified GC to draw a line between the specified set of points (x1, y1) and (x2, y2). It does not perform joi
manpages/ctl_mboxlist.8.html
ctl_mboxlist(8) - perform operations on the mailbox list dat
Ctl_mboxlist is used to perform various administrative operations on the mailbox list database. Ctl_mboxlist reads its configuration options out of the imapd.co
manpages/aspell-import.1.html
aspell-import(1) import old personal dictionaries into GNU A
aspell-import is a command that will search for old personal dictionaries and will import them into GNU Aspell. It will look for both Ispell and Aspell dictiona
manpages/sane-epson2.5.html
sane-epson2(5) - SANE backend for EPSON scanners (Man Page)
The sane-epson2 library implements a SANE (Scanner Access Now Easy) backend that provides access to Epson flatbed scanners. This library supports a similar set
