Package gaia.cu9.ari.gaiaorbit.util
Enum GlobalConf.SceneConf.GraphicsQuality
- java.lang.Object
-
- java.lang.Enum<GlobalConf.SceneConf.GraphicsQuality>
-
- gaia.cu9.ari.gaiaorbit.util.GlobalConf.SceneConf.GraphicsQuality
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlobalConf.SceneConf.GraphicsQuality>
- Enclosing class:
- GlobalConf.SceneConf
public static enum GlobalConf.SceneConf.GraphicsQuality extends java.lang.Enum<GlobalConf.SceneConf.GraphicsQuality>
Graphics quality setting
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
key
java.lang.String
suffix
int
texHeightTarget
int
texWidthTarget
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAtLeast(GlobalConf.SceneConf.GraphicsQuality gq)
boolean
isAtMost(GlobalConf.SceneConf.GraphicsQuality gq)
boolean
isHigh()
boolean
isLow()
boolean
isNormal()
boolean
isUltra()
static GlobalConf.SceneConf.GraphicsQuality
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlobalConf.SceneConf.GraphicsQuality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOW
public static final GlobalConf.SceneConf.GraphicsQuality LOW
-
NORMAL
public static final GlobalConf.SceneConf.GraphicsQuality NORMAL
-
HIGH
public static final GlobalConf.SceneConf.GraphicsQuality HIGH
-
ULTRA
public static final GlobalConf.SceneConf.GraphicsQuality ULTRA
-
-
Method Detail
-
values
public static GlobalConf.SceneConf.GraphicsQuality[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlobalConf.SceneConf.GraphicsQuality c : GlobalConf.SceneConf.GraphicsQuality.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalConf.SceneConf.GraphicsQuality valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isAtLeast
public boolean isAtLeast(GlobalConf.SceneConf.GraphicsQuality gq)
-
isAtMost
public boolean isAtMost(GlobalConf.SceneConf.GraphicsQuality gq)
-
isLow
public boolean isLow()
-
isNormal
public boolean isNormal()
-
isHigh
public boolean isHigh()
-
isUltra
public boolean isUltra()
-
-