define an array of texture coordinates


glTexCoordPointer( GLint ( size ) , GLenum ( type ) , GLsizei ( stride ) , const GLvoid * ( pointer ) )-> void
glTexCoordPointer( size , type , stride , pointer )
glTexCoordPointerf( pointer )
glTexCoordPointeri( pointer )
glTexCoordPointers( pointer )


Specifies the number of coordinates per array element. Must be 1, 2, 3, or 4. The initial value is 4.
Specifies the data type of each texture coordinate. Symbolic constants GL_SHORT , GL_INT , GL_FLOAT , or GL_DOUBLE are accepted. The initial value is GL_FLOAT .
Specifies the byte offset between consecutive texture coordinate sets. If stride is 0, the array elements are understood to be tightly packed. The initial value is 0.
Specifies a pointer to the first coordinate of the first texture coordinate set in the array. The initial value is 0.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

OpenGLContext tests/ Lines: 104
OpenGLContext OpenGLContext/ Lines: 36
OpenGLContext OpenGLContext/scenegraph/ Lines: 42
OpenGLContext OpenGLContext/scenegraph/ Lines: 53
OpenGLContext OpenGLContext/scenegraph/ Lines: 53, 112
OpenGL-Demo PyOpenGL-Demo/NeHe/ Lines: 434, 450
Visvis wobjects/ Lines: 970
{GPL3} OpenGL-Programmable Lines: 189
{GPL3} OpenGL-Programmable Lines: 96
{GPL3} OpenGL-Programmable Lines: 181
{GPL3} OpenGL-Programmable Lines: 115