public enum EffectQuality extends java.lang.Enum<EffectQuality>
One can set quality of a Postprocessing Effect to one of those. The lower the quality, the faster the rendering will be.
DistortedEffects
Modifier and Type | Field and Description |
---|---|
static int |
LENGTH
Numof of possible qualities.
|
static float |
MULTIPLIER
Each next Quality level renders into 1/MULTIPLIER smaller buffers.
|
Modifier and Type | Method and Description |
---|---|
static EffectQuality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EffectQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectQuality HIGHEST
public static final EffectQuality HIGH
public static final EffectQuality MEDIUM
public static final EffectQuality LOW
public static final float MULTIPLIER
public static final int LENGTH
public static EffectQuality[] values()
for (EffectQuality c : EffectQuality.values()) System.out.println(c);
public static EffectQuality 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