[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

gluQuadricDrawStyle Subroutine

Purpose

Specifies the desired quadric drawing style.

Library

OpenGL C bindings library: libGL.a

C Syntax

void gluQuadricDrawStyle(GLUquadricObj *qobj, 
   GLenum DrawStyle)

Description

The gluQuadricDrawStyle subroutine specifies the draw style for quadrics rendered with the qobj parameter. Valid values for the DrawStyle parameter are as follows:

GLU_FILL Quadrics are rendered with polygon primitives. The polygons are drawn counterclockwise of their normals (as defined with the gluQuadricOrientation subroutine).
GLU_LINE Quadrics are rendered as a set of lines.
GLU_SILHOUETTE Quadrics are rendered as a set of lines; however, edges separating coplanar faces are not drawn.
GLU_POINT Quadrics are rendered as a set of points.

Parameters

qobj Specifies the quadrics object created with the gluNewQuadric subroutine.
DrawStyle Specifies the desired draw style. Valid values are as follows:
  • GLU_FILL
  • GLU_LINE
  • GLU_SILHOUETTE
  • GLU_POINT

Files

/usr/include/GL/gl.h Contains C language constraints, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The gluNewQuadric subroutine, gluQuadricNormals subroutine, gluQuadricOrientation subroutine, gluQuadricTexture subroutine.

OpenGL Overview.


[ Previous | Next | Contents | Glossary | Home | Search ]