请输入您要查询的百科知识:

 

词条 gluQuadricDrawStyle
释义

gluQuadricDrawStyle

NAME

gluQuadricDrawStyle -- specify the draw style desired for quadrics

C SPECIFICATION

void gluQuadricDrawStyle(GLUquadricObj *quadObject,

GLenum drawStyle)

PARAMETERS

quadObject

Specifies the quadrics object (created with gluNewQuadric).

drawStyle

Specifies the desired draw style. Valid values are GLU_FILL, GLU_LINE, GLU_SILHOUETTE, and GLU_POINT.

DESCRIPTION

gluQuadricDrawStyle specifies the draw style for quadrics rendered with quadObject. The legal values are as follows:

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.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/20 2:16:10