glTexCoord1i

glTexCoord: man2/glTexCoord.xml

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

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 ARB_imaging extension is supported, glTexCoord always updates texture unit GL_TEXTURE0.

@OpenGL_Version(OGLIntroducedIn.V1P0)
fn_glTexCoord1i glTexCoord1i;

See Also

glMultiTexCoord, glTexCoordPointer, glVertex

Meta