Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sclear(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



sclear(3G)                                                          sclear(3G)



NAME
     sclear - clear the stencil planes to a specified value

C SPECIFICATION
     void sclear(sval)
     unsigned long sval;

PARAMETERS
     sval   expects the integer value that is to be written to every stencil
            location

DESCRIPTION
     sclear sets every pixel in the currently allocated stencil buffer (see
     stensize) to sval, the passed parameter.  This clearing operation is
     limited by the current viewport and scrmask, and is masked by the current
     swritemask. Current color is unchanged.  The polygon pattern, if any, is
     ignored.

SEE ALSO
     stensize, swritemask

NOTES
     IRIS-4D G, GT, and GTX models, Personal Iris, Indigo Entry, Indigo XL,
     and Indy do not support stencil, and therefore also do not support
     sclear.  Use getgdesc to determine whether stencil is supported.

     Because only the normal framebuffer includes stencil resources, sclear
     should be called only while draw mode is NORMALDRAW.



























                                                                        Page 1



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