com.jme3.post.filters
Enum BloomFilter.GlowMode

java.lang.Object
  extended by java.lang.Enum<BloomFilter.GlowMode>
      extended by com.jme3.post.filters.BloomFilter.GlowMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BloomFilter.GlowMode>
Enclosing class:
BloomFilter

public static enum BloomFilter.GlowMode
extends java.lang.Enum<BloomFilter.GlowMode>

GlowMode specifies if the glow will be applied to the whole scene,or to objects that have aglow color or a glow map


Enum Constant Summary
Objects
          Apply bloom only to objects that have a glow map or a glow color.
Scene
          Apply bloom filter to bright areas in the scene.
SceneAndObjects
          Apply bloom to both bright parts of the scene and objects with glow map.
 
Method Summary
static BloomFilter.GlowMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BloomFilter.GlowMode[] 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

Scene

public static final BloomFilter.GlowMode Scene
Apply bloom filter to bright areas in the scene.


Objects

public static final BloomFilter.GlowMode Objects
Apply bloom only to objects that have a glow map or a glow color.


SceneAndObjects

public static final BloomFilter.GlowMode SceneAndObjects
Apply bloom to both bright parts of the scene and objects with glow map.

Method Detail

values

public static BloomFilter.GlowMode[] 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 (BloomFilter.GlowMode c : BloomFilter.GlowMode.values())
    System.out.println(c);

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

valueOf

public static BloomFilter.GlowMode 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