*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/sclear (3)              
Title
Content
Arch
Section
 

Contents


sclear(3G)							    sclear(3G)


NAME    [Toc]    [Back]

     sclear - clear the	stencil	planes to a specified value

C SPECIFICATION    [Toc]    [Back]

     void sclear(sval)
     unsigned long sval;

PARAMETERS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

      
      
     stensize, swritemask

NOTES    [Toc]    [Back]

     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 ]
 Similar pages
Name OS Title
glStencilMask Tru64 control the writing of individual bits in the stencil planes
glstencilmask IRIX control the writing of individual bits in the stencil planes
stensize IRIX specify the number of bit planes desired to comprise the stencil buffer
glClearStencil Tru64 specify the clear value for the stencil buffer
glclearstencil IRIX specify the clear value for the stencil buffer
zbsize IRIX specifies the number of bit planes desired to comprise the Z buffer
glStencilOp Tru64 set stencil test actions
glstencilop IRIX set stencil test actions
swritemask IRIX specify which stencil bits can be written
glstencilfunc IRIX set function and reference value for stencil testing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service