|
||||||||||
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.jogl.JOGLLightState
public class JOGLLightState
JOGLLightState
subclasses the Light class using the JOGL API
to access OpenGL for light processing.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme.scene.state.RenderState |
---|
RenderState.StateType |
Field Summary |
---|
Fields inherited from class com.jme.scene.state.LightState |
---|
backLightMask, globalAmbient, lightMask, LIGHTS_ENABLED, localViewerOn, MASK_AMBIENT, MASK_DIFFUSE, MASK_GLOBALAMBIENT, MASK_SPECULAR, MAX_LIGHTS_ALLOWED, separateSpecularOn, twoSidedOn, zeroBuffer |
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 | |
---|---|
JOGLLightState(JOGLContextCapabilities caps)
Constructor instantiates a new JOGLLightState . |
Method Summary | |
---|---|
void |
apply()
set iterates over the light queue and processes each
individual light. |
StateRecord |
createStateRecord()
|
RenderState |
extract(java.util.Stack<? extends RenderState> 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, getClassTag, getGlobalAmbient, getLightList, getLightMask, getLocalViewer, getQuantity, getSeparateSpecular, getStateType, getTwoSidedLighting, getType, popLightMask, pushLightMask, read, setGlobalAmbient, setLightMask, setLocalViewer, setSeparateSpecular, setTwoSidedLighting, write |
Methods inherited from class com.jme.scene.state.RenderState |
---|
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 |
---|
public JOGLLightState(JOGLContextCapabilities caps)
JOGLLightState
.
Method Detail |
---|
public void apply()
set
iterates over the light queue and processes each
individual light.
apply
in class RenderState
RenderState.apply()
public StateRecord createStateRecord()
createStateRecord
in class RenderState
public RenderState extract(java.util.Stack<? extends RenderState> stack, Spatial spat)
RenderState
extract
in class RenderState
stack
- 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 |