public static enum Texture.Type extends java.lang.Enum<Texture.Type>
Enum Constant and Description |
---|
CubeMap
A set of 6 TwoDimensional textures arranged as faces of a cube facing
inwards.
|
ThreeDimensional
Three-dimensional texture.
|
TwoDimensional
Two dimensional texture (default).
|
TwoDimensionalArray
An array of two-dimensional textures.
|
Modifier and Type | Method and Description |
---|---|
static Texture.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.Type TwoDimensional
public static final Texture.Type TwoDimensionalArray
public static final Texture.Type ThreeDimensional
public static final Texture.Type CubeMap
public static Texture.Type[] values()
for (Texture.Type c : Texture.Type.values()) System.out.println(c);
public static Texture.Type 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