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/XkbGetKeyboardByName.3.html
XkbGetKeyboardByName(3) - Build a new keyboard description f
A client may request that the server fetch one or more components from its database and use those components to build a new server keyboard description. The new

manpages/SDL_mutexV.3.html
SDL_mutexV(3) - Unlock a mutex (Library - Linux man page)...
Unlocks the mutex, which was previously created with SDL_CreateMutex. Returns 0 on success, or -1 on an error. SDL also defines a macro #define SDL_UnlockMutex(

manpages/warn.3.html
warn(3) - formatted error messages - Linux manual page......
The err() and warn() family of functions display a formatted error message on the standard error output. In all cases, the last component of the program name, a

manpages/git-sh-i18n.1.html
git-sh-i18n(1) - Gits i18n setup code for shell scripts.....
git-sh-i18n.1 - This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts an

manpages/Tcl_CreateThreadExitHandler.3.html
Tcl_CreateThreadExitHandler(3) - end the application or thre
The procedures described here provide a graceful mechanism to end the execution of a Tcl application. Exit handlers are invoked to cleanup the applications stat

manpages/setvtrgb.html
setvtrgb
setvtrgb.html

manpages/cd.n.html
cd(n) - Change working directory (Local - Linux man page)...
Change the current working directory to dirName, or to the home directory (as specified in the HOME environment variable) if dirName is not given. Returns an em

manpages/pam_mkhomedir.8.html
pam_mkhomedir(8) - PAM module to create users home directory
The pam_mkhomedir PAM module will create a users home directory if it does not exist when the session begins. This allows users to be present in central databas

manpages/XML::SAX.3pm.html
XML::SAX(3pm) - Simple API for XML - Linux manual page......
XML::SAX is a SAX parser access API for Perl. It includes classes and APIs required for implementing SAX drivers, along with a factory class for returning any S

manpages/mvgetn_wstr.3ncurses.html
mvgetn_wstr(3ncurses) - get an array of wide characters from
The effect of get_wstr is as though a series of calls to get_wch were made, until a newline, other end-of-line, or end-of-file condition is processed. An end-of

manpages/unctrl_sp.3ncurses.html
unctrl_sp(3ncurses) - curses screen-pointer extension.......
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th

manpages/inet_aton.3.html
inet_aton(3) - Internet address manipulation routines.......
inet_aton() converts the Internet host address cp from the IPv4 numbers-and-dots notation into binary form (in network byte order) and stores it in the structur





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