public enum TextureType extends Enum<TextureType> implements IEnumWithValue
| Enum Constant and Description |
|---|
TEXTURE_2D
A two-dimensional texture.
|
TEXTURE_2D_ARRAY
A two-dimensional array texture.
|
TEXTURE_3D
A three-dimensional texture.
|
TEXTURE_CUBE_MAP
A cube-mapped texture.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static TextureType |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final TextureType TEXTURE_2D
public static final TextureType TEXTURE_2D_ARRAY
public static final TextureType TEXTURE_3D
public static final TextureType TEXTURE_CUBE_MAP
public static TextureType[] values()
for (TextureType c : TextureType.values()) System.out.println(c);
public static TextureType 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.