*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/getsm (3)              


getsm(3G)							     getsm(3G)

NAME    [Toc]    [Back]

     getsm - returns the current shading model

C SPECIFICATION    [Toc]    [Back]

     long getsm()

PARAMETERS    [Toc]    [Back]


     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

     GOURAUD   the system renders lines	and filled polygons with Gouraud

DESCRIPTION    [Toc]    [Back]

     getsm returns the shading model that the system uses to render lines and
     filled polygons.

SEE ALSO    [Toc]    [Back]


NOTE    [Toc]    [Back]

     This routine is available only in immediate mode.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
shademodel IRIX selects the shading model
maxexponent IRIX Returns the maximum exponent in the numeric model
epsilon IRIX Returns a positive number near 1 in the numeric model
bit_size IRIX Returns the number of bits in an integer in the bit manipulation model
spacing IRIX Returns the absolute spacing of real model numbers near the argument value
huge IRIX Returns the largest number in the integer or real numeric model
fraction IRIX Returns the fractional part of the numeric model representation of the argument value
exponent IRIX Returns the exponent part of the argument when represented as a numeric model number
range IRIX Returns the decimal exponent range of a number according to the real or integer model
rrspacing IRIX Returns the reciprocal of the relative spacing of numeric model numbers near the argument value
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service