gluQuadricTexture

The gluQuadricTexture function specifies whether quadrics are to be textured.

void gluQuadricTexture(
  GLUquadricObj *quadObject,  GLboolean textureCoords);

Parameters

  • quadObject
    The quadric object (created with gluNewQuadric).
  • textureCoords
    A flag indicating whether texture coordinates are to be generated. The following values are valid.
    Value Meaning
    GL_TRUE Generate texture coordinates.
    GL_FALSE Do not generate texture coordinates. This is the default value.

Remarks

The gluQuadricTexture function specifies whether texture coordinates are to be generated for quadrics rendered with quadObject.

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

Requirements

**  Windows NT/2000:** Requires Windows NT 3.5 or later.
**  Windows 95/98:** Requires Windows 95 or later. Available as a redistributable for Windows 95.
**  Header:** Declared in Glu.h.
**  Library:** Use Glu32.lib.

See Also

gluNewQuadric, gluQuadricDrawStyle, gluQuadricNormals