glMultiTexCoord4i

glMultiTexCoord: man3/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.

The current texture coordinates can be updated at any time. It is always the case that GL_TEXTURE i = GL_TEXTURE0 + i.

@OpenGL_Version(OGLIntroducedIn.V1P3)
fn_glMultiTexCoord4i glMultiTexCoord4i;

See Also

glActiveTexture, glTexCoord, glVertex

Meta