GLMULTITEXCOORDARB


HOME

GLMULTITEXCOORDARB

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

NAME

glMultiTexCoord1dARB, glMultiTexCoord1fARB, glMultiTexCoord1iARB, glMultiTexCoord1sARB, glMultiTexCoord2dARB, glMultiTexCoord2fARB, glMultiTexCoord2iARB, glMultiTexCoord2sARB, glMultiTexCoord3dARB, glMultiTexCoord3fARB, glMultiTexCoord3iARB, glMultiTexCoord3sARB, glMultiTexCoord4dARB, glMultiTexCoord4fARB, glMultiTexCoord4iARB, glMultiTexCoord4sARB, glMultiTexCoord1dvARB, glMultiTexCoord1fvARB, glMultiTexCoord1ivARB, glMultiTexCoord1svARB, glMultiTexCoord2dvARB, glMultiTexCoord2fvARB, glMultiTexCoord2ivARB, glMultiTexCoord2svARB, glMultiTexCoord3dvARB, glMultiTexCoord3fvARB, glMultiTexCoord3ivARB, glMultiTexCoord3svARB, glMultiTexCoord4dvARB, glMultiTexCoord4fvARB, glMultiTexCoord4ivARB, glMultiTexCoord4svARB − set the current texture coordinates

C SPECIFICATION

void glMultiTexCoord1dARB( GLenum target,

GLdouble s )

void glMultiTexCoord1fARB( GLenum target,

GLfloat s )

void glMultiTexCoord1iARB( GLenum target,

GLint s )

void glMultiTexCoord1sARB( GLenum target,

GLshort s )

void glMultiTexCoord2dARB( GLenum target,

GLdouble s,

GLdouble t )

void glMultiTexCoord2fARB( GLenum target,

GLfloat s,

GLfloat t )

void glMultiTexCoord2iARB( GLenum target,

GLint s,

GLint t )

void glMultiTexCoord2sARB( GLenum target,

GLshort s,

GLshort t )

void glMultiTexCoord3dARB( GLenum target,

GLdouble s,

GLdouble t,

GLdouble r )

void glMultiTexCoord3fARB( GLenum target,

GLfloat s,

GLfloat t,

GLfloat r )

void glMultiTexCoord3iARB( GLenum target,

GLint s,

GLint t,

GLint r )

void glMultiTexCoord3sARB( GLenum target,

GLshort s,

GLshort t,

GLshort r )

void glMultiTexCoord4dARB( GLenum target,

GLdouble s,

GLdouble t,

GLdouble r,

GLdouble q )

void glMultiTexCoord4fARB( GLenum target,

GLfloat s,

GLfloat t,

GLfloat r,

GLfloat q )

void glMultiTexCoord4iARB( GLenum target,

GLint s,

GLint t,

GLint r,

GLint q )

void glMultiTexCoord4sARB( GLenum target,

GLshort s,

GLshort t,

GLshort r,

GLshort q )

PARAMETERS

target

Specifies texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Must be one of GL_TEXTURE$i$_ARB where 0 ≤ $ i $ < GL_MAX_TEXTURE_UNITS_ARB, which is an implementation-dependent value.

s, t, r, q

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

C SPECIFICATION

void glMultiTexCoord1dvARB( GLenum target,
const GLdouble *v )
void glMultiTexCoord1fvARB( GLenum target,
const GLfloat *v )
void glMultiTexCoord1ivARB( GLenum target,
const GLint *v )
void glMultiTexCoord1svARB( GLenum target,
const GLshort *v )
void glMultiTexCoord2dvARB( GLenum target,
const GLdouble *v )
void glMultiTexCoord2fvARB( GLenum target,
const GLfloat *v )
void glMultiTexCoord2ivARB( GLenum target,
const GLint *v )
void glMultiTexCoord2svARB( GLenum target,
const GLshort *v )
void glMultiTexCoord3dvARB( GLenum target,
const GLdouble *v )
void glMultiTexCoord3fvARB( GLenum target,
const GLfloat *v )
void glMultiTexCoord3ivARB( GLenum target,
const GLint *v )
void glMultiTexCoord3svARB( GLenum target,
const GLshort *v )
void glMultiTexCoord4dvARB( GLenum target,
const GLdouble *v )
void glMultiTexCoord4fvARB( GLenum target,
const GLfloat *v )
void glMultiTexCoord4ivARB( GLenum target,
const GLint *v )
void glMultiTexCoord4svARB( GLenum target,
const GLshort *v )

PARAMETERS

target

Specifies texture unit whose coordinates should be modified. The number of texture units is implementation dependent, but must be at least two. Must be one of GL_TEXTURE$i$_ARB, where 0 ≤ $ i $ < the implementation-dependent value of GL_MAX_TEXTURE_UNITS_ARB.

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

glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1); a call to glMultiTexCoord2ARB sets them to (st, 0, 1). Similarly, glMultiTexCoord3ARB specifies the texture coordinates as (str, 1), and glMultiTexCoord4ARB defines all four components explicitly as (strq).

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, q are (0, 0, 0, 1).

NOTES

glMultiTexCoordARB is only supported if GL_ARB_multitexture is included in the string returned by glGetString when called with the argument GL_EXTENSIONS.

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

It is always the case that GL_TEXTURE$i$_ARB = GL_TEXTURE0_ARB + $i$.

ASSOCIATED GETS

glGet with argument GL_CURRENT_TEXTURE_COORDS with appropriate texture unit selected.

SEE ALSO

glActiveTextureARB(3G), glClientActiveTextureARB(3G), glTexCoord(3G), glTexCoordPointer(3G), glVertex(3G)






Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.