gluQuadricDrawStyle

The gluQuadricDrawStyle function specifies the draw style desired for quadrics.

void gluQuadricDrawStyle(
  GLUquadricObj * qobj,   
  GLenum drawStyle        
);
 

Parameters

qobj
The quadric object (created with gluNewQuadric).
drawStyle
The desired draw style. The following values are valid.
Value Meaning
GLU_FILL Quadrics are rendered with polygon primitives. The polygons are drawn in a counterclockwise fashion with respect to their normals (as defined with gluQuadricOrientation).
GLU_LINE Quadrics are rendered as a set of lines.
GLU_SILHOUETTE Quadrics are rendered as a set of lines, except that edges separating coplanar faces will not be drawn.
GLU_POINT Quadrics are rendered as a set of points.

Remarks

The gluQuadricDrawStyle function specifies the draw style for quadrics rendered with qobj.

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, gluQuadricNormals, gluQuadricOrientation, gluQuadricTexture