Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setshade(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

setshade(3G)  —  Silicon Graphics

NAME

setshade − sets the current polygon shade

SPECIFICATION

C
setshade(shade)
Colorindex shade;

FORTRAN
subroutine setsha(shade)
integer*4 shade

Pascal
procedure setshade(shade: longint);

DESCRIPTION

setshade sets the current shade value.  shade is a color index that is associated with the specified vertices that immediately follow setshade. 

setshade values shade polygons closed with spclos.  If you use setshade in the definition of a polygon that is closed with pclos, the results are undefined.  Shading works only when the solid pattern is set. 

SEE ALSO

spclos, splf Programming Guide, Section 13.1, Shading

Version 3.6  —  December 20, 1987

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