getsm(3G) getsm(3G)
NAME
getsm - returns the shading model the system uses to draw
polygons
SPECIFICATION
C long getsm()
FORTRAN integer*4 getsm()
DESCRIPTION
getsm returns the shading model that the system uses to draw
filled polygons. If getsm returns FLAT, the system draws
polygons in constant color; if it returns GOURAUD, the
system draws the interior of a polygon as a linear
interpolation the colors at its vertices.
SEE ALSO
shademodel
Programming Guide, Section 13.1, Shading and Depth-Cueing
Page 1 (printed 8/20/87)