hmi.graphics.collada
Enum FixedFunctionShader.ShaderType

java.lang.Object
  extended by java.lang.Enum<FixedFunctionShader.ShaderType>
      extended by hmi.graphics.collada.FixedFunctionShader.ShaderType
All Implemented Interfaces:
Serializable, Comparable<FixedFunctionShader.ShaderType>
Enclosing class:
FixedFunctionShader

public static enum FixedFunctionShader.ShaderType
extends Enum<FixedFunctionShader.ShaderType>

A FixedFunction shader has one of the well known types, like Lambert, Phong, Blinn


Enum Constant Summary
Blinn
           
Constant
           
Lambert
           
Phong
           
 
Method Summary
static FixedFunctionShader.ShaderType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FixedFunctionShader.ShaderType[] 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

Constant

public static final FixedFunctionShader.ShaderType Constant

Lambert

public static final FixedFunctionShader.ShaderType Lambert

Phong

public static final FixedFunctionShader.ShaderType Phong

Blinn

public static final FixedFunctionShader.ShaderType Blinn
Method Detail

values

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

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

valueOf

public static FixedFunctionShader.ShaderType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null