Function glTexCoord3s

  • glTexCoord specifies texture coordinates in one, two, three, or four dimensions. glTexCoord1 sets the current texture coordinates to (𝐬, 0, 0, 1); a call to glTexCoord2 sets them to (𝐬, 𝐭, 0, 1). Similarly, glTexCoord3 specifies the texture coordinates as (𝐬, 𝐭, 𝐫, 1), and glTexCoord4 defines all four components explicitly as (𝐬, 𝐭, 𝐫, 𝐪).

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

    Parameters

    • s: number

      Specifies s texture coordinate.

    • t: number

      Specifies t texture coordinate.

    • r: number

      Specifies r texture coordinate.

    Returns void

    Summary

    set the current texture coordinates

    See

    glTexCoord

Generated using TypeDoc