gluQuadricTexture

NAME

gluQuadricTexture -- specify if texturing is desired for quadrics

C SPECIFICATION

void gluQuadricTexture(GLUquadricObj *quadObject,
                       GLboolean textureCoords)

PARAMETERS

quadObject
Specifies the quadrics object (created with gluNewQuadric).

textureCoords
Specifies a flag indicating if texture coordinates should be generated.

DESCRIPTION

gluQuadricTexture specifies if texture coordinates should be generated for quadrics rendered with quadObject. If the value of textureCoords is GL_TRUE, then texture coordinates are generated, and if textureCoords is GL_FALSE, they are not. The default is GL_FALSE.

The manner in which texture coordinates are generated depends upon the specific quadric rendered.

SEE ALSO

gluNewQuadric, gluQuadricDrawStyle, gluQuadricNormals, gluQuadricOrientation


back to the OpenGL index page


© 1995 Uwe Behrens All rights reserved