EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #424 background imageLoading...
Page #424 background image
T
glTexCoord
Chapter 18
424
Parameters
s, t, r, q Specify s, t, r, and q texture coordinates. Not all parameters are
present in all forms of the command.
v Specifies a pointer to an array of one, two, three, or four elements,
which in turn specify the s, t, r, and q texture coordinates.
Description
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 s, t, r, and q are (0, 0, 0, 1).
Notes
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.
Associated Gets
glGet with argument GL_CURRENT_TEXTURE_COORDS
See Also
glTexCoordPointer,
glVertex

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals