Package gaiasky.util
Enum GlobalConf.SceneConf.GraphicsQuality
java.lang.Object
java.lang.Enum<GlobalConf.SceneConf.GraphicsQuality>
gaiasky.util.GlobalConf.SceneConf.GraphicsQuality
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlobalConf.SceneConf.GraphicsQuality>
,java.lang.constant.Constable
- Enclosing class:
- GlobalConf.SceneConf
public static enum GlobalConf.SceneConf.GraphicsQuality extends java.lang.Enum<GlobalConf.SceneConf.GraphicsQuality>
Graphics quality setting
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
key
java.lang.String
suffix
int
texHeightTarget
int
texWidthTarget
-
Method Summary
Modifier and Type Method Description int
getGlowNLights()
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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
-
Enum Constant Details
-
LOW
-
NORMAL
-
HIGH
-
ULTRA
-
-
Field Details
-
key
public java.lang.String key -
suffix
public java.lang.String suffix -
texWidthTarget
public int texWidthTarget -
texHeightTarget
public int texHeightTarget
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
isAtMost
-
isLow
public boolean isLow() -
isNormal
public boolean isNormal() -
isHigh
public boolean isHigh() -
isUltra
public boolean isUltra() -
getGlowNLights
public int getGlowNLights()
-