|
||||||||||
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.MaterialState
com.jme.scene.state.lwjgl.LWJGLMaterialState
public class LWJGLMaterialState
LWJGLMaterialState
subclasses MaterialState using the LWJGL
API to access OpenGL to set the material for a given node and it's children.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jme.scene.state.MaterialState |
---|
MaterialState.ColorMaterial, MaterialState.MaterialFace |
Nested classes/interfaces inherited from class com.jme.scene.state.RenderState |
---|
RenderState.StateType |
Field Summary |
---|
Fields inherited from class com.jme.scene.state.MaterialState |
---|
ambient, colorMaterial, defaultAmbient, defaultColorMaterial, defaultDiffuse, defaultEmissive, defaultMaterialFace, defaultShininess, defaultSpecular, diffuse, emissive, materialFace, shininess, specular |
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 | |
---|---|
LWJGLMaterialState()
Constructor instantiates a new LWJGLMaterialState object. |
Method Summary | |
---|---|
void |
apply()
set calls the OpenGL material function to set the proper
material state. |
StateRecord |
createStateRecord()
|
Methods inherited from class com.jme.scene.state.MaterialState |
---|
getAmbient, getClassTag, getColorMaterial, getDiffuse, getEmissive, getMaterialFace, getShininess, getSpecular, getStateType, getType, read, setAmbient, setColorMaterial, setDiffuse, setEmissive, setMaterialFace, setShininess, setSpecular, 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 |
---|
public LWJGLMaterialState()
LWJGLMaterialState
object.
Method Detail |
---|
public void apply()
set
calls the OpenGL material function to set the proper
material state.
apply
in class RenderState
RenderState.apply()
public StateRecord createStateRecord()
createStateRecord
in class RenderState
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |