hmi.graphics.collada
Enum FixedFunctionShader.ShaderType
java.lang.Object
java.lang.Enum<FixedFunctionShader.ShaderType>
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
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
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