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

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

Contents


msmask(3G)							    msmask(3G)


NAME    [Toc]    [Back]

     msmask - specifies	a multisample mask

C SPECIFICATION    [Toc]    [Back]

     void msmask(float mask, Boolean inverse)

PARAMETERS    [Toc]    [Back]

     mask      is a value between 0 and	1 inclusive, indicating	what fraction
	       of the multisamples at each pixel are to	be updated.  The
	       default is 1.

     inverse   specifies whether an inverse mask should	be created.

DESCRIPTION    [Toc]    [Back]

     Just as the polygon pattern specifies a subset of pixels that can be
     written in	a window, msmask specifies a subset of multisample locations
     that can be written at each pixel.	 Unlike	polygon	pattern, which
     specifies exactly which pixels can	and cannot be written, however,	msmask
     specifies only the	ratio of writable and unwritable sample	locations at
     each pixel.  Values between 0 and 1 inclusive indicate the	fraction of
     multisample locations that	can be written,	with the default value of 1
     indicating	that all sample	locations can be written, and 0	indicating
     that no sample locations can be written.  Only the	ratio is guaranteed -
     the enabled sample	locations may vary from	pixel to pixel.

     Setting inverse will generate the inverse mask.  For example,

	  msmask(0.75, FALSE)

     will generate a mask that allows 75% of the samples to be written,	and

	  msmask(0.75, TRUE)

     will generate a mask that allows the other	25% of the samples to be
     written.

     msmask has	no effect when multisample is not enabled.

SEE ALSO    [Toc]    [Back]

      
      
     msalpha, mspattern, mssize, multisample

NOTE    [Toc]    [Back]

     IRIS-4D G,	GT, GTX, VGX, and VGXT models, the Personal Iris, Indigo
     Entry, Indy, XL, XS, XS24,	XZ, Elan and Extreme systems do	not support
     msmask.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
multisample IRIX specifies the use of the multisample buffer
mssize IRIX specifies multisample buffer configuration
mspattern IRIX specifies a multisample sample pattern
msalpha IRIX specifies treatment of alpha values during multisample rendering
zwritemask IRIX specifies a write mask for the z-buffer of the current framebuffer
gltagsamplebuffersgix IRIX mark all samples of a multisample buffer
getmultisample IRIX returns the current multisample mode
mask IRIX Returns a bit mask
sigsetmask Tru64 Set the current signal mask
umask IRIX set and get file creation mask
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service