public enum AlphaFunction extends java.lang.Enum<AlphaFunction> implements GLEnum
Enum Constant and Description |
---|
ALWAYS
Always passes (initial value).
|
EQUAL
Passes if the incoming alpha value is equal to the reference value.
|
GEQUAL
Passes if the incoming alpha value is greater than or equal to the reference value.
|
GREATER
Passes if the incoming alpha value is greater than the reference value.
|
LEQUAL
Passes if the incoming alpha value is less than or equal to the reference value.
|
LESS
Passes if the incoming alpha value is less than the reference value.
|
NEVER
Never passes.
|
NOTEQUAL
Passes if the incoming alpha value is not equal to the reference value.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Gets the enum's numerical value.
|
static AlphaFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlphaFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlphaFunction NEVER
public static final AlphaFunction LESS
public static final AlphaFunction EQUAL
public static final AlphaFunction LEQUAL
public static final AlphaFunction GREATER
public static final AlphaFunction NOTEQUAL
public static final AlphaFunction GEQUAL
public static final AlphaFunction ALWAYS
public static AlphaFunction[] values()
for (AlphaFunction c : AlphaFunction.values()) System.out.println(c);
public static AlphaFunction 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