com.jme3.system.android
Enum AndroidConfigChooser.ConfigType

java.lang.Object
  extended by java.lang.Enum<AndroidConfigChooser.ConfigType>
      extended by com.jme3.system.android.AndroidConfigChooser.ConfigType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AndroidConfigChooser.ConfigType>
Enclosing class:
AndroidConfigChooser

public static enum AndroidConfigChooser.ConfigType
extends java.lang.Enum<AndroidConfigChooser.ConfigType>


Enum Constant Summary
BEST
          RGB???, 0 alpha, >=16 depth, 0 stencil
BEST_TRANSLUCENT
          RGB???, 8 alpha, >=16 depth, 0 stencil
FASTEST
          RGB565, 0 alpha, 16 depth, 0 stencil
LEGACY
          Turn off config chooser and use hardcoded setEGLContextClientVersion(2); setEGLConfigChooser(5, 6, 5, 0, 16, 0);
 
Method Summary
static AndroidConfigChooser.ConfigType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AndroidConfigChooser.ConfigType[] 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

FASTEST

public static final AndroidConfigChooser.ConfigType FASTEST
RGB565, 0 alpha, 16 depth, 0 stencil


BEST

public static final AndroidConfigChooser.ConfigType BEST
RGB???, 0 alpha, >=16 depth, 0 stencil


LEGACY

public static final AndroidConfigChooser.ConfigType LEGACY
Turn off config chooser and use hardcoded setEGLContextClientVersion(2); setEGLConfigChooser(5, 6, 5, 0, 16, 0);


BEST_TRANSLUCENT

public static final AndroidConfigChooser.ConfigType BEST_TRANSLUCENT
RGB???, 8 alpha, >=16 depth, 0 stencil

Method Detail

values

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

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

valueOf

public static AndroidConfigChooser.ConfigType 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