Rediger

Del via


gluQuadricDrawStyle function

The gluQuadricDrawStyle function specifies the draw style desired for quadrics.

Syntax

void WINAPI gluQuadricDrawStyle(
   GLUquadric *quadObject,
   GLenum     drawStyle
);

Parameters

quadObject

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.

Return value

This function does not return a value.

Remarks

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

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Glu.h
Library
Glu32.lib
DLL
Glu32.dll

See also

gluNewQuadric

gluQuadricNormals

gluQuadricOrientation

gluQuadricTexture