Page de démarrage > comp > gb.opengl > gl > texcoord4f 
 en de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Précédent  Suivant  Éditer  Renommer  Annuler  Rechercher  Administration  
Documentation  
Attention! Cette page n'a pas encore été traduite.  Voir la version anglaise 
Gl.TexCoord4f (gb.opengl)
Static Sub TexCoord4f ( S As Float, T As Float, R As Float, Q As Float )

Set the current texture coordinates.

Parameters

s, t, r, q

Specify s, t, r, and q texture coordinates. Not all parameters are present in all forms of the command.

Parameters

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

Gl.TexCoord specifies texture coordinates in one, two, three, or four dimensions. Gl.TexCoord1 sets the current texture coordinates to s 0 0 1 ; a call to Gl.TexCoord2 sets them to s t 0 1 . Similarly, Gl.TexCoord3 specifies the texture coordinates as s t r 1 , and Gl.TexCoord4 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, Gl.TexCoord can be called between a call to Gl.Begin and the corresponding call to Gl.End.

When the ARB_imaging extension is supported, Gl.TexCoord always updates texture unit Gl.TEXTURE0.

Associated Gets

Gl.Get with argument Gl.CURRENT_TEXTURE_COORDS

Voir aussi

Gl.MultiTexCoord, Gl.TexCoordPointer, Gl.Vertex

See original documentation on OpenGL website