org.xith3d.scenegraph
Class StencilMaskSeparate

java.lang.Object
  extended by org.xith3d.scenegraph.StencilMaskSeparate

public class StencilMaskSeparate
extends java.lang.Object

This is an abstraction of the OpenGL function glStencilMaskSeparate().


Constructor Summary
StencilMaskSeparate(org.jagatoo.opengl.enums.StencilFace face)
          Creates a new StencilMaskSeparate.
StencilMaskSeparate(org.jagatoo.opengl.enums.StencilFace face, int mask)
          Creates a new StencilMaskSeparate.
 
Method Summary
 org.jagatoo.opengl.enums.StencilFace getFace()
          Specifies whether front and/or back stencil state is updated.
 int getMask()
           
 void setFace(org.jagatoo.opengl.enums.StencilFace face)
          Specifies whether front and/or back stencil state is updated.
 void setMask(int mask)
          Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StencilMaskSeparate

public StencilMaskSeparate(org.jagatoo.opengl.enums.StencilFace face)
Creates a new StencilMaskSeparate.

Parameters:
face -

StencilMaskSeparate

public StencilMaskSeparate(org.jagatoo.opengl.enums.StencilFace face,
                           int mask)
Creates a new StencilMaskSeparate.

Parameters:
face -
mask -
Method Detail

setFace

public final void setFace(org.jagatoo.opengl.enums.StencilFace face)
Specifies whether front and/or back stencil state is updated.

Parameters:
face -

getFace

public final org.jagatoo.opengl.enums.StencilFace getFace()
Specifies whether front and/or back stencil state is updated.


setMask

public final void setMask(int mask)
Specifies a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.

Parameters:
mask -

getMask

public final int getMask()