sclear(3G)sclear(3G)NAMEsclear - 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
DESCRIPTIONsclear 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