public enum TextureMappingMode extends java.lang.Enum<TextureMappingMode>
Enum Constant and Description |
---|
PerPrimitive
With this mode entire texture is fit into single primitive
|
PerScreen
With this mode texture coordinates equal to screen coordinates
|
Modifier and Type | Method and Description |
---|---|
static TextureMappingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureMappingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureMappingMode PerScreen
public static final TextureMappingMode PerPrimitive
public static TextureMappingMode[] values()
for (TextureMappingMode c : TextureMappingMode.values()) System.out.println(c);
public static TextureMappingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null