Enum ShaderSelectionMode
- All Implemented Interfaces:
Serializable
,Comparable<ShaderSelectionMode>
,java.lang.constant.Constable
Shader selection mode
- See Also:
-
AUTO
COLOR
COLOR_LIGHT_PER_VERTEX
ShaderSelectionMode#COLOR_TEXTURE
ShaderSelectionMode#COLOR_TEXTURE_LIGHT_PER_VERTEX
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuto shader selection, based upon FFP states.Fixed shader selection: Simple color.Fixed shader selection: Color with vertex-lighting.Fixed shader selection: Multi-Textured color.Fixed shader selection: Multi-Textured color.Fixed shader selection: Multi-Textured color.Fixed shader selection: Multi-Textured color with vertex-lighting. -
Method Summary
Modifier and TypeMethodDescriptionstatic ShaderSelectionMode
Returns the enum constant of this type with the specified name.static ShaderSelectionMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
AUTO
Auto shader selection, based upon FFP states. -
COLOR
Fixed shader selection: Simple color. -
COLOR_TEXTURE2
Fixed shader selection: Multi-Textured color. 2 texture units. -
COLOR_TEXTURE4
Fixed shader selection: Multi-Textured color. 4 texture units. -
COLOR_TEXTURE8
Fixed shader selection: Multi-Textured color. 8 texture units. -
COLOR_LIGHT_PER_VERTEX
Fixed shader selection: Color with vertex-lighting. -
COLOR_TEXTURE8_LIGHT_PER_VERTEX
Fixed shader selection: Multi-Textured color with vertex-lighting. 8 texture units.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-