public enum TextureType extends java.lang.Enum<TextureType>
ITextureUnit
Enum Constant and Description |
---|
ARRAY2D
Multiple set of 2d textures
|
CUBE_MAP
Cube map texture contains 6 2d textures
|
TEXTURE1D
1-dimensional texture
|
TEXTURE2D
2-dimensional texture
|
TEXTURE3D
3-dimensional texture
|
Modifier and Type | Method and Description |
---|---|
static TextureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureType TEXTURE1D
public static final TextureType TEXTURE2D
public static final TextureType TEXTURE3D
public static final TextureType CUBE_MAP
public static final TextureType ARRAY2D
public static TextureType[] values()
for (TextureType c : TextureType.values()) System.out.println(c);
public static TextureType 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