com.jme.scene.state
Class AttributeState

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

public abstract class AttributeState
extends RenderState

AttributeState

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

Field Summary
static int ACCUM_BUFFER_BIT
           
static int ALL_ATTRIB_BIT
           
static int COLOR_BUFFER_BIT
           
static int CURRENT_BIT
           
static int DEPTH_BUFFER_BIT
           
static int ENABLE_BIT
           
static int EVAL_BIT
           
static int FOG_BIT
           
static int HINT_BIT
           
protected static int level
           
static int LIGHTING_BIT
           
static int LINE_BIT
           
static int LIST_BIT
           
static int PIXEL_MODE_BIT
           
static int POINT_BIT
           
static int POLYGON_BIT
           
static int POLYGON_STIPPLE_BIT
           
static int SCISSOR_BIT
           
static int STENCIL_BUFFER_BIT
           
static int TEXTURE_BIT
           
static int TRANSFORM_BIT
           
static int VIEWPORT_BIT
           
 
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
AttributeState()
          Constructor instantiates a new ShadeState object with the default mode being smooth.
 
Method Summary
 int getMask()
           
 int getType()
          getType
 void setMask(int mask)
           
 
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
 

Field Detail

ALL_ATTRIB_BIT

public static final int ALL_ATTRIB_BIT
See Also:
Constant Field Values

ACCUM_BUFFER_BIT

public static final int ACCUM_BUFFER_BIT
See Also:
Constant Field Values

COLOR_BUFFER_BIT

public static final int COLOR_BUFFER_BIT
See Also:
Constant Field Values

CURRENT_BIT

public static final int CURRENT_BIT
See Also:
Constant Field Values

DEPTH_BUFFER_BIT

public static final int DEPTH_BUFFER_BIT
See Also:
Constant Field Values

ENABLE_BIT

public static final int ENABLE_BIT
See Also:
Constant Field Values

EVAL_BIT

public static final int EVAL_BIT
See Also:
Constant Field Values

FOG_BIT

public static final int FOG_BIT
See Also:
Constant Field Values

HINT_BIT

public static final int HINT_BIT
See Also:
Constant Field Values

LIGHTING_BIT

public static final int LIGHTING_BIT
See Also:
Constant Field Values

LINE_BIT

public static final int LINE_BIT
See Also:
Constant Field Values

LIST_BIT

public static final int LIST_BIT
See Also:
Constant Field Values

PIXEL_MODE_BIT

public static final int PIXEL_MODE_BIT
See Also:
Constant Field Values

POINT_BIT

public static final int POINT_BIT
See Also:
Constant Field Values

POLYGON_BIT

public static final int POLYGON_BIT
See Also:
Constant Field Values

POLYGON_STIPPLE_BIT

public static final int POLYGON_STIPPLE_BIT
See Also:
Constant Field Values

SCISSOR_BIT

public static final int SCISSOR_BIT
See Also:
Constant Field Values

STENCIL_BUFFER_BIT

public static final int STENCIL_BUFFER_BIT
See Also:
Constant Field Values

TEXTURE_BIT

public static final int TEXTURE_BIT
See Also:
Constant Field Values

TRANSFORM_BIT

public static final int TRANSFORM_BIT
See Also:
Constant Field Values

VIEWPORT_BIT

public static final int VIEWPORT_BIT
See Also:
Constant Field Values

level

protected static int level
Constructor Detail

AttributeState

public AttributeState()
Constructor instantiates a new ShadeState object with the default mode being smooth.

Method Detail

getType

public int getType()
getType

Specified by:
getType in class RenderState
Returns:
See Also:
RenderState.getType()

setMask

public void setMask(int mask)

getMask

public int getMask()