sclear(3G) sclear(3G)
sclear - clear the stencil planes to a specified value
void sclear(sval)
unsigned long sval;
sval expects the integer value that is to be written to every stencil
location
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.
stensize, swritemask
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.
PPPPaaaaggggeeee 1111 [ Back ]
|