com.jme.scene.state.lwjgl
Class LWJGLAlphaState

java.lang.Object
  extended bycom.jme.scene.state.RenderState
      extended bycom.jme.scene.state.AlphaState
          extended bycom.jme.scene.state.lwjgl.LWJGLAlphaState
All Implemented Interfaces:
java.io.Serializable

public class LWJGLAlphaState
extends AlphaState

LWJGLAlphaState subclasses the AlphaState using the LWJGL API to set OpenGL's alpha state.

Version:
$Id: LWJGLAlphaState.java,v 1.6 2004/09/14 21:52:14 mojomonkey Exp $
Author:
Mark Powell
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jme.scene.state.AlphaState
blendEnabled, DB_DST_ALPHA, DB_ONE, DB_ONE_MINUS_DST_ALPHA, DB_ONE_MINUS_SRC_ALPHA, DB_ONE_MINUS_SRC_COLOR, DB_SRC_ALPHA, DB_SRC_COLOR, DB_ZERO, dstBlend, reference, SB_DST_COLOR, SB_ONE, SB_ONE_MINUS_DST_COLOR, SB_ONE_MINUS_SRC_ALPHA, SB_SRC_ALPHA, SB_SRC_ALPHA_SATURATE, SB_ZERO, srcBlend, test, testEnabled, TF_ALWAYS, TF_EQUAL, TF_GEQUAL, TF_GREATER, TF_LEQUAL, TF_LESS, TF_NEVER, TF_NOTEQUAL
 
Fields inherited from class com.jme.scene.state.RenderState
RS_ALPHA, RS_ATTRIBUTE, RS_CULL, RS_DITHER, 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
LWJGLAlphaState()
          Constructor instantiates a new LWJGLAlphaState object with default values.
 
Method Summary
 void apply()
          set is called to set the alpha state.
 
Methods inherited from class com.jme.scene.state.AlphaState
getDstFunction, getReference, getSrcFunction, getTestFunction, getType, isBlendEnabled, isTestEnabled, setBlendEnabled, setDstFunction, setReference, setSrcFunction, setTestEnabled, setTestFunction
 
Methods inherited from class com.jme.scene.state.RenderState
extract, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LWJGLAlphaState

public LWJGLAlphaState()
Constructor instantiates a new LWJGLAlphaState object with default values.

Method Detail

apply

public void apply()
set is called to set the alpha state. If blending is enabled, the blend function is set up and if alpha testing is enabled the alpha functions are set.

Specified by:
apply in class RenderState
See Also:
RenderState.apply()