public enum ShaderSelectionMode extends Enum<ShaderSelectionMode>
AUTO
,
COLOR
,
COLOR_LIGHT_PER_VERTEX
,
ShaderSelectionMode#COLOR_TEXTURE
,
ShaderSelectionMode#COLOR_TEXTURE_LIGHT_PER_VERTEX
Enum Constant and Description |
---|
AUTO
Auto shader selection, based upon FFP states.
|
COLOR
Fixed shader selection: Simple color.
|
COLOR_LIGHT_PER_VERTEX
Fixed shader selection: Color with vertex-lighting.
|
COLOR_TEXTURE2
Fixed shader selection: Multi-Textured color.
|
COLOR_TEXTURE4
Fixed shader selection: Multi-Textured color.
|
COLOR_TEXTURE8
Fixed shader selection: Multi-Textured color.
|
COLOR_TEXTURE8_LIGHT_PER_VERTEX
Fixed shader selection: Multi-Textured color with vertex-lighting.
|
Modifier and Type | Method and Description |
---|---|
static ShaderSelectionMode |
valueOf(String name)
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.
|
public static final ShaderSelectionMode AUTO
public static final ShaderSelectionMode COLOR
public static final ShaderSelectionMode COLOR_TEXTURE2
public static final ShaderSelectionMode COLOR_TEXTURE4
public static final ShaderSelectionMode COLOR_TEXTURE8
public static final ShaderSelectionMode COLOR_LIGHT_PER_VERTEX
public static final ShaderSelectionMode COLOR_TEXTURE8_LIGHT_PER_VERTEX
public static ShaderSelectionMode[] values()
for (ShaderSelectionMode c : ShaderSelectionMode.values()) System.out.println(c);
public static ShaderSelectionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright 2010 JogAmp Community.