sclear(3G)
sclear - clear the stencil planes to a specified value
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME sclear - clear the stencil planes to a specified value FORTRAN SPECIFICATION subroutine sclear(sval) integer*4 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 stensi) to sval, the passed parameter. This clearing operation is limited by the current viewpo and scrnma, and is masked by the current swrite. Current color is unchanged. The polygon pattern, if any, is ignored. SEE ALSO stensi, swrite NOTES IRIS-4D G, GT, and GTX models, Personal Iris, Indigo Entry, Indigo XL, and Indy do not support stenci, and therefore also do not support sclear. Use getgde to determine whether stenci is supported. Because only the normal framebuffer includes stenci resources, sclear should be called only while draw mode is NORMAL.