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.

QuickInfo

  Windows NT: Use version 3.5 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in glu.h.
  Import Library: Link with glu32.lib.

See Also

gluNewQuadric, gluQuadricDrawStyle, gluQuadricNormals