com.jme.scene.state
Enum RenderState.StateType

java.lang.Object
  extended by java.lang.Enum<RenderState.StateType>
      extended by com.jme.scene.state.RenderState.StateType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RenderState.StateType>
Enclosing class:
RenderState

public static enum RenderState.StateType
extends java.lang.Enum<RenderState.StateType>

Enumerates every possible RenderState type.

Author:
Carter

Enum Constant Summary
Blend
          The value returned by getType() for BlendState.
Clip
          The value returned by getType() for ClipState.
ColorMask
          The value returned by getType() for ColorMaskState.
Cull
          The value returned by getType() for CullState.
Fog
          The value returned by getType() for FogState.
FragmentProgram
          The value returned by getType() for FragmentProgramState.
GLSLShaderObjects
          The value returned by getType() for GLSLShaderObjectsState.
Light
          The value returned by getType() for LightState.
Material
          The value returend by getType() for MaterialState.
Shade
          The value returned by getType() for ShadeState.
Stencil
          The value returned by getType() for StencilState.
Stipple
          The value returned by getType() for StippleState.
Texture
          The value returned by getType() for TextureState.
VertexProgram
          The value returned by getType() for VertexProgramState.
Wireframe
          The value returned by getType() for WireframeState.
ZBuffer
          The value returned by getType() for ZBufferState.
 
Method Summary
 boolean canQuickCompare()
           
static RenderState.StateType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RenderState.StateType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Blend

public static final RenderState.StateType Blend
The value returned by getType() for BlendState.


Fog

public static final RenderState.StateType Fog
The value returned by getType() for FogState.


Light

public static final RenderState.StateType Light
The value returned by getType() for LightState.


Material

public static final RenderState.StateType Material
The value returend by getType() for MaterialState.


Shade

public static final RenderState.StateType Shade
The value returned by getType() for ShadeState.


Texture

public static final RenderState.StateType Texture
The value returned by getType() for TextureState.


Wireframe

public static final RenderState.StateType Wireframe
The value returned by getType() for WireframeState.


ZBuffer

public static final RenderState.StateType ZBuffer
The value returned by getType() for ZBufferState.


Cull

public static final RenderState.StateType Cull
The value returned by getType() for CullState.


VertexProgram

public static final RenderState.StateType VertexProgram
The value returned by getType() for VertexProgramState.


FragmentProgram

public static final RenderState.StateType FragmentProgram
The value returned by getType() for FragmentProgramState.


Stencil

public static final RenderState.StateType Stencil
The value returned by getType() for StencilState.


GLSLShaderObjects

public static final RenderState.StateType GLSLShaderObjects
The value returned by getType() for GLSLShaderObjectsState.


ColorMask

public static final RenderState.StateType ColorMask
The value returned by getType() for ColorMaskState.


Clip

public static final RenderState.StateType Clip
The value returned by getType() for ClipState.


Stipple

public static final RenderState.StateType Stipple
The value returned by getType() for StippleState.

Method Detail

values

public static RenderState.StateType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RenderState.StateType c : RenderState.StateType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RenderState.StateType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

canQuickCompare

public boolean canQuickCompare()