getsm(3G) getsm(3G)
getsm - returns the current shading model
long getsm()
none
FUNCTION RETURN VALUE
The returned value of this function indicates which shading model is now
active. There are two possible return values:
FLAT the system renders lines and filled polygons in a constant
color.
GOURAUD the system renders lines and filled polygons with Gouraud
shading.
getsm returns the shading model that the system uses to render lines and
filled polygons.
shademodel
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|