![]() -> Click here to learn how to get live help <- |
GLTEXCOORDIndexNAMEglTexCoord1d, glTexCoord1f, glTexCoord1i, glTexCoord1s, glTexCoord2d, glTexCoord2f, glTexCoord2i, glTexCoord2s, glTexCoord3d, glTexCoord3f, glTexCoord3i, glTexCoord3s, glTexCoord4d, glTexCoord4f, glTexCoord4i, glTexCoord4s, glTexCoord1dv, glTexCoord1fv, glTexCoord1iv, glTexCoord1sv, glTexCoord2dv, glTexCoord2fv, glTexCoord2iv, glTexCoord2sv, glTexCoord3dv, glTexCoord3fv, glTexCoord3iv, glTexCoord3sv, glTexCoord4dv, glTexCoord4fv, glTexCoord4iv, glTexCoord4sv - set the current texture coordinatesC SPECIFICATIONvoid f3glTexCoord1dfP( GLdouble fIsfP )void f3glTexCoord1ffP( GLfloat fIsfP ) void f3glTexCoord1ifP( GLint fIsfP ) void f3glTexCoord1sfP( GLshort fIsfP ) void f3glTexCoord2dfP( GLdouble fIsfP, GLfloat fItfP )void f3glTexCoord2ifP( GLint fIsfP, GLshort fItfP )void f3glTexCoord3dfP( GLdouble fIsfP, GLfloat fItfP, GLfloat fIrfP )void f3glTexCoord3ifP( GLint fIsfP, GLshort fItfP, GLshort fIrfP )void f3glTexCoord4dfP( GLdouble fIsfP, GLfloat fItfP, GLfloat fIrfP, GLfloat fIqfP )void f3glTexCoord4ifP( GLint fIsfP, GLshort fItfP, GLshort fIrfP, GLshort fIqfP ) PARAMETERS
C SPECIFICATIONvoid f3glTexCoord1dvfP( const GLdouble fI*vfP )void f3glTexCoord1fvfP( const GLfloat fI*vfP ) void f3glTexCoord1ivfP( const GLint fI*vfP ) void f3glTexCoord1svfP( const GLshort fI*vfP ) void f3glTexCoord2dvfP( const GLdouble fI*vfP ) void f3glTexCoord2fvfP( const GLfloat fI*vfP ) void f3glTexCoord2ivfP( const GLint fI*vfP ) void f3glTexCoord2svfP( const GLshort fI*vfP ) void f3glTexCoord3dvfP( const GLdouble fI*vfP ) void f3glTexCoord3fvfP( const GLfloat fI*vfP ) void f3glTexCoord3ivfP( const GLint fI*vfP ) void f3glTexCoord3svfP( const GLshort fI*vfP ) void f3glTexCoord4dvfP( const GLdouble fI*vfP ) void f3glTexCoord4fvfP( const GLfloat fI*vfP ) void f3glTexCoord4ivfP( const GLint fI*vfP ) void f3glTexCoord4svfP( const GLshort fI*vfP ) PARAMETERS
DESCRIPTION%f3glTexCoordfP specifies texture coordinates in one, two, three, or four dimensions. %f3glTexCoord1fP sets the current texture coordinates to (f2sfP, 0, 0, 1); a call to%f3glTexCoord2fP sets them to (f2sfP, f2tfP, 0, 1). Similarly, %f3glTexCoord3fP specifies the texture coordinates as (f2sfP, f2tfP, f2rfP, 1), and %f3glTexCoord4fP defines all four components explicitly as (f2sfP, f2tfP, f2rfP, f2qfP). 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 f2sfP, f2tfP, f2rfP, and f2qfP are (0, 0, 0, 1). NOTESThe current texture coordinates can be updated at any time. In particular, %f3glTexCoordfP can be called between a call to %f3glBeginfP and the corresponding call to %f3glEndfP. When the %f3GL_ARB_imagingfP extension is supported, %f3glTexCoordfP always updates texture unit %f3GL_TEXTURE0_ARBfP.ASSOCIATED GETS%f3glGetfP with argument %f3GL_CURRENT_TEXTURE_COORDSfPSEE ALSO%f3glTexCoordPointer(3G)fP, %f3glVertex(3G)fP
Index |