|
||||||||||
| 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.FogState
com.jme.scene.state.jogl.JOGLFogState
public class JOGLFogState
JOGLFogState subclasses the fog state using the JOGL API to
set the OpenGL fog state.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.jme.scene.state.FogState |
|---|
FogState.CoordinateSource, FogState.DensityFunction, FogState.Quality |
| Nested classes/interfaces inherited from class com.jme.scene.state.RenderState |
|---|
RenderState.StateType |
| Field Summary |
|---|
| Fields inherited from class com.jme.scene.state.FogState |
|---|
color, density, densityFunction, end, quality, source, start, supportsFogCoords, supportsFogCoordsDetected |
| 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 | |
|---|---|
JOGLFogState()
|
|
JOGLFogState(JOGLContextCapabilities caps)
Constructor instantiates a new JOGLFogState object with
default values. |
|
| Method Summary | |
|---|---|
void |
apply()
set sets the OpenGL fog values if the state is enabled. |
FogStateRecord |
createStateRecord()
|
| Methods inherited from class com.jme.scene.state.FogState |
|---|
getClassTag, getColor, getDensity, getDensityFunction, getEnd, getQuality, getSource, getStart, getStateType, getType, isFogCoordsSupported, overrideFogCoordsSupport, read, resetFogCoordsSupport, setColor, setDensity, setDensityFunction, setEnd, setQuality, setSource, setStart, 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 JOGLFogState()
public JOGLFogState(JOGLContextCapabilities caps)
JOGLFogState object with
default values.
| Method Detail |
|---|
public void apply()
set sets the OpenGL fog values if the state is enabled.
apply in class RenderStateRenderState.apply()public FogStateRecord createStateRecord()
createStateRecord in class RenderState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||