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/boolcodes.3ncurses.html
boolcodes(3ncurses) - curses terminfo global variables......
This page summarizes variables provided by the curses librarys low-level terminfo interface. A more complete description is given in the curs_terminfo(3X) manua

manpages/oldlstat.2.html
oldlstat(2) - get file status (System - Linux man page).....
These functions return information about a file, in the buffer pointed to by stat. No permissions are required on the file itself, but-in the case of stat(), fs

manpages/pppoe-sniff.8.html
pppoe-sniff(8) examine network for non-standard PPPoE frames
pppoe-sniff listens for likely-looking PPPoE PADR and session frames and deduces extra options required for pppoe-connect(8) to work. Some DSL providers seem to

manpages/htpurge.1.html
htpurge(1) - remove unused odocuments from the database (gen
Htpurge functions to remove specified URLs from the databases as well as bad URLs, unretrieved URLs, obsolete documents, etc. It is recommended that htpurge be

manpages/speed.1ssl.html
speed(1ssl) test library performance - Linux manual page....
This command is used to test the performance of cryptographic algorithms. OPTIONS -engine id specifying an engine (by its unique id string) will cause speed to

manpages/wstandout.3ncurses.html
wstandout(3ncurses) - curses character and window attribute
These routines manipulate the current attributes of the named window. The current attributes of a window apply to all characters that are written into the windo

manpages/XmbufChangeWindowAttributes.3.html
XmbufChangeWindowAttributes(3) - X multibuffering functions
The application programming library for the X11 Double-Buffering, Multi-Buffering, and Stereo Extension contains the interfaces described below. With the except

manpages/Tk_CreateSelHandler.3.html
Tk_CreateSelHandler(3) - arrange to handle requests for a se
Tk_CreateSelHandler arranges for a particular procedure (proc) to be called whenever selection is owned by tkwin and the selection contents are requested in the

manpages/git-http-fetch.1.html
git-http-fetch(1) - Download from a remote git repository vi
Downloads a remote Git repository via HTTP. NOTE: use of this command without -a is deprecated. The -a behaviour will become the default in a future release. OP

manpages/term.7.html
term(7) - conventions for naming terminal types (Man Page)
The environment variable TERM should normally contain the type name of the terminal, console or display-device type you are using. This information is critical

manpages/xdr_replymsg.3.html
xdr_replymsg(3) - library routines for remote procedure call
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s

manpages/gnutls_dh_params_init.3.html
gnutls_dh_params_init(3) - API function - Linux manual page
This function will initialize the DH parameters structure. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code is returned. RE





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