Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getsm(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



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



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026