com.jme.scene.state.lwjgl
Class LWJGLStencilState

java.lang.Object
  extended by com.jme.scene.state.RenderState
      extended by com.jme.scene.state.StencilState
          extended by com.jme.scene.state.lwjgl.LWJGLStencilState
All Implemented Interfaces:
Savable

public class LWJGLStencilState
extends StencilState

LWJGLStencilState

Version:
$Id: LWJGLStencilState.java 4131 2009-03-19 20:15:28Z blaine.dev $
Author:
Mark Powell, Joshua Slack - reworked for StateRecords.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jme.scene.state.StencilState
StencilState.StencilFunction, StencilState.StencilOperation
 
Nested classes/interfaces inherited from class com.jme.scene.state.RenderState
RenderState.StateType
 
Field Summary
 
Fields inherited from class com.jme.scene.state.StencilState
stencilWrapSupport, twoSidedSupport
 
Fields inherited from class com.jme.scene.state.RenderState
QUICK_COMPARE, RS_BLEND, RS_CLIP, RS_COLORMASK_STATE, RS_CULL, RS_FOG, RS_FRAGMENT_PROGRAM, RS_GLSL_SHADER_OBJECTS, RS_LIGHT, RS_MATERIAL, RS_MAX_STATE, RS_SHADE, RS_STENCIL, RS_TEXTURE, RS_VERTEX_PROGRAM, RS_WIREFRAME, RS_ZBUFFER
 
Constructor Summary
LWJGLStencilState()
           
 
Method Summary
 void apply()
          This function is defined in the RenderState that is actually used by the Renderer.
 StencilStateRecord createStateRecord()
           
 
Methods inherited from class com.jme.scene.state.StencilState
getClassTag, getStateType, getStencilFuncMaskBack, getStencilFuncMaskFront, getStencilFunctionBack, getStencilFunctionFront, getStencilOpFailBack, getStencilOpFailFront, getStencilOpZFailBack, getStencilOpZFailFront, getStencilOpZPassBack, getStencilOpZPassFront, getStencilReferenceBack, getStencilReferenceFront, getStencilWriteMaskBack, getStencilWriteMaskFront, getType, isUseTwoSided, read, setStencilFuncMask, setStencilFuncMaskBack, setStencilFuncMaskFront, setStencilFunction, setStencilFunctionBack, setStencilFunctionFront, setStencilMask, setStencilMaskBack, setStencilMaskFront, setStencilOpFail, setStencilOpFailBack, setStencilOpFailFront, setStencilOpZFail, setStencilOpZFailBack, setStencilOpZFailFront, setStencilOpZPass, setStencilOpZPassBack, setStencilOpZPassFront, setStencilReference, setStencilReferenceBack, setStencilReferenceFront, setStencilWriteMask, setStencilWriteMaskBack, setStencilWriteMaskFront, setUseTwoSided, supportsStencilWrap, supportsTwoSided, write
 
Methods inherited from class com.jme.scene.state.RenderState
extract, isEnabled, needsRefresh, setEnabled, setNeedsRefresh, setQuickCompares
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LWJGLStencilState

public LWJGLStencilState()
Method Detail

apply

public void apply()
Description copied from class: RenderState
This function is defined in the RenderState that is actually used by the Renderer. It contains the code that, when executed, applies the render state for the given render system. This should only be called internally and not by users directly.

Specified by:
apply in class RenderState

createStateRecord

public StencilStateRecord createStateRecord()
Specified by:
createStateRecord in class RenderState