com.jme.scene.state
Class DitherState

java.lang.Object
  extended bycom.jme.scene.state.RenderState
      extended bycom.jme.scene.state.DitherState
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LWJGLDitherState

public abstract class DitherState
extends RenderState

DitherState maintains the dithering capability of the renderer. Dithering enables the appearance of more colors than are actually available on the graphics card. This is particularly useful for 8-bit graphics cards. This is done by mixing available colors to create another color.

Version:
$Id: DitherState.java,v 1.2 2004/04/22 22:26:55 renanse Exp $
Author:
Mark Powell
See Also:
Serialized Form

Field Summary
 
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
DitherState()
           
 
Method Summary
 int getType()
          getType returns the render state type of this state.
 
Methods inherited from class com.jme.scene.state.RenderState
apply, extract, isEnabled, setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DitherState

public DitherState()
Method Detail

getType

public int getType()
getType returns the render state type of this state. (RS_DITHER).

Specified by:
getType in class RenderState
Returns:
An int identifying this render state.
See Also:
RenderState.getType()