org.xith3d.scenegraph
Class StencilOpSeparate

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

public class StencilOpSeparate
extends java.lang.Object

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


Constructor Summary
StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face)
          Creates a new StencilOpSeparate.
StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face, org.jagatoo.opengl.enums.StencilOperation sfail)
          Creates a new StencilOpSeparate.
StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face, org.jagatoo.opengl.enums.StencilOperation sfail, org.jagatoo.opengl.enums.StencilOperation dpfail)
          Creates a new StencilOpSeparate.
StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face, org.jagatoo.opengl.enums.StencilOperation sfail, org.jagatoo.opengl.enums.StencilOperation dpfail, org.jagatoo.opengl.enums.StencilOperation dppass)
          Creates a new StencilOpSeparate.
 
Method Summary
 org.jagatoo.opengl.enums.StencilOperation getDPFail()
          Specifies the stencil action when the stencil test passes, but the depth test fails.
 org.jagatoo.opengl.enums.StencilOperation getDPPass()
          Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled.
 org.jagatoo.opengl.enums.StencilFace getFace()
          Specifies whether front and/or back stencil state is updated.
 org.jagatoo.opengl.enums.StencilOperation getSFail()
          Specifies the action to take when the stencil test fails.
 void setDPFail(org.jagatoo.opengl.enums.StencilOperation dpfail)
          Specifies the stencil action when the stencil test passes, but the depth test fails.
 void setDPPass(org.jagatoo.opengl.enums.StencilOperation dppass)
          Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled.
 void setFace(org.jagatoo.opengl.enums.StencilFace face)
          Specifies whether front and/or back stencil state is updated.
 void setSFail(org.jagatoo.opengl.enums.StencilOperation sfail)
          Specifies the action to take when the stencil test fails.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StencilOpSeparate

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

Parameters:
face -

StencilOpSeparate

public StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face,
                         org.jagatoo.opengl.enums.StencilOperation sfail)
Creates a new StencilOpSeparate.

Parameters:
face -
sfail -

StencilOpSeparate

public StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face,
                         org.jagatoo.opengl.enums.StencilOperation sfail,
                         org.jagatoo.opengl.enums.StencilOperation dpfail)
Creates a new StencilOpSeparate.

Parameters:
face -
sfail -
dpfail -

StencilOpSeparate

public StencilOpSeparate(org.jagatoo.opengl.enums.StencilFace face,
                         org.jagatoo.opengl.enums.StencilOperation sfail,
                         org.jagatoo.opengl.enums.StencilOperation dpfail,
                         org.jagatoo.opengl.enums.StencilOperation dppass)
Creates a new StencilOpSeparate.

Parameters:
face -
sfail -
dpfail -
dppass -
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.


setSFail

public final void setSFail(org.jagatoo.opengl.enums.StencilOperation sfail)
Specifies the action to take when the stencil test fails. The initial value is KEEP.

Parameters:
sfail -

getSFail

public final org.jagatoo.opengl.enums.StencilOperation getSFail()
Specifies the action to take when the stencil test fails. The initial value is KEEP.


setDPFail

public final void setDPFail(org.jagatoo.opengl.enums.StencilOperation dpfail)
Specifies the stencil action when the stencil test passes, but the depth test fails. The initial value is KEEP.

Parameters:
dpfail -

getDPFail

public final org.jagatoo.opengl.enums.StencilOperation getDPFail()
Specifies the stencil action when the stencil test passes, but the depth test fails. The initial value is KEEP.


setDPPass

public final void setDPPass(org.jagatoo.opengl.enums.StencilOperation dppass)
Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. The initial value is KEEP.

Parameters:
dppass -

getDPPass

public final org.jagatoo.opengl.enums.StencilOperation getDPPass()
Specifies the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth testing is not enabled. The initial value is KEEP.