public static enum Texture.CoordinateType extends Enum<Texture.CoordinateType>
Enum Constant and Description |
---|
NORMALIZED
Normalized OpenGL coordinates, ranging from 0 to 1.
|
PIXELS
Pixel coordinates, ranging from 0 to the respective dimension (width or height).
|
Modifier and Type | Method and Description |
---|---|
static Texture.CoordinateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Texture.CoordinateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.CoordinateType NORMALIZED
public static final Texture.CoordinateType PIXELS
public static Texture.CoordinateType[] values()
for (Texture.CoordinateType c : Texture.CoordinateType.values()) System.out.println(c);
public static Texture.CoordinateType 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 null