|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.scene.state.RenderState
com.jme.scene.state.AlphaState
com.jme.scene.state.lwjgl.LWJGLAlphaState
LWJGLAlphaState subclasses the AlphaState using the LWJGL API
to set OpenGL's alpha state.
| 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 |
public LWJGLAlphaState()
LWJGLAlphaState object with
default values.
| Method Detail |
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.
apply in class RenderStateRenderState.apply()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||