Name

glMultiTexCoord4f , glMultiTexCoord4x - set the current texture coordinates

C Specification

void glMultiTexCoord4f(GLenum target,
    GLfloat s,
    GLfloat t,
    GLfloat r,
    GLfloat q)

void glMultiTexCoord4x(GLenum target,
    GLfixed s,
    GLfixed t,
    GLfixed r,
    GLfixed q)

Parameters

target

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

s, t, r, q

Specify s, t, r, and q texture coordinates for target texture unit. The initial value is (0, 0, 0, 1).

Description

glMultiTexCoord specifies the four texture coordinates as (s, t, r, q).

The current texture coordinates are part of the data that is associated with each vertex.

Notes

It is always the case that GL_TEXTUREi = GL_TEXTURE0 + i.

Associated Gets

glGet with argument GL_MAX_TEXTURE_UNITS

Copyright

Copyright © 2003-2004 Silicon Graphics, Inc.

This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.

See Also

glActiveTexture, glClientActiveTexture, glColor, glGet, glNormal, glTexCoordPointer