public enum EffectType extends java.lang.Enum<EffectType>
Each effect type goes to an independent queue; the queues get executed one-by-one and are each a class descendant from EffectQueue.
Enum Constant and Description |
---|
FRAGMENT
Effects executed in the Fragment shader: changes of color, hue, transparency levels, etc.
|
MATRIX
Effects that change the ModelView matrix: Rotations, Moves, Shears, Scales.
|
POSTPROCESS
Postprocessing effects done to the texture the first stage fragment shader created
|
VERTEX
Effects that get executed in the Vertex shader: various distortions of the vertices.
|
Modifier and Type | Method and Description |
---|---|
static EffectType |
getType(int ordinal)
Returns the i-th EffectType.
|
static EffectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EffectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EffectType MATRIX
public static final EffectType VERTEX
public static final EffectType FRAGMENT
public static final EffectType POSTPROCESS
public static EffectType[] values()
for (EffectType c : EffectType.values()) System.out.println(c);
public static EffectType 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 nullpublic static EffectType getType(int ordinal)
If you want to loop over all possible effect types, you need this.