|
|||||||||||
| 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.LightState
com.jme.scene.state.lwjgl.LWJGLLightState
LWJGLLightState subclasses the Light class using the LWJGL API
to access OpenGL for light processing.
| Field Summary |
| Fields inherited from class com.jme.scene.state.LightState |
COMBINE_CLOSEST, COMBINE_FIRST, COMBINE_RECENT_ENABLED, INHERIT, MAX_LIGHTS_ALLOWED, OFF, REPLACE, twoSidedOn |
| 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 | |
LWJGLLightState()
Constructor instantiates a new LWJGLLightState. |
|
| Method Summary | |
void |
apply()
set iterates over the light queue and processes each
individual light. |
RenderState |
extract(java.util.Stack stack,
Spatial spat)
Extracts from the stack the correct renderstate that should apply to the given spatial. |
| Methods inherited from class com.jme.scene.state.LightState |
attach, detach, detachAll, get, getQuantity, getTwoSidedLighting, getType, setTwoSidedLighting |
| Methods inherited from class com.jme.scene.state.RenderState |
isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LWJGLLightState()
LWJGLLightState.
| Method Detail |
public void apply()
set iterates over the light queue and processes each
individual light.
apply in class RenderStateRenderState.apply()
public RenderState extract(java.util.Stack stack,
Spatial spat)
RenderState
extract in class RenderStatestack - The stack to extract render states from.spat - The spatial to apply the render states too.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||