glMultiTexCoord2iv

glMultiTexCoord: man2/glMultiTexCoord.xml

glMultiTexCoord specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1 sets the current texture coordinates to s 0 0 1; a call to glMultiTexCoord2 sets them to s t 0 1. Similarly, glMultiTexCoord3 specifies the texture coordinates as s t r 1, and glMultiTexCoord4 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 q are 0 0 0 1.

glMultiTexCoord is only supported if the GL version is 1.3 or greater, or if 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, glMultiTexCoord can be called between a call to glBegin and the corresponding call to glEnd. It is always the case that GL_TEXTURE i = GL_TEXTURE0 + i.

@OpenGL_Version(OGLIntroducedIn.V1P3)
fn_glMultiTexCoord2iv glMultiTexCoord2iv;

See Also

glActiveTexture, glClientActiveTexture, glTexCoord, glTexCoordPointer, glVertex

Meta