Share via


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.

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