getsm(3G) getsm(3G) NAME getsm - returns the current shading model C SPECIFICATION long getsm() PARAMETERS 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. DESCRIPTION getsm returns the shading model that the system uses to render lines and filled polygons. SEE ALSO shademodel NOTE This routine is available only in immediate mode. Page 1[top]
Vote for polarhome |