public enum AlphaSource extends java.lang.Enum<AlphaSource>
| Enum Constant and Description |
|---|
FIXED_VALUE
The Alpha is a fixed value which is defined by
TextureBase.getAlpha() |
NONE
No alpha is defined in the texture
|
PIXEL_ALPHA
The alpha is defined by pixel's alpha channel
|
| Modifier and Type | Method and Description |
|---|---|
static AlphaSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlphaSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlphaSource NONE
public static final AlphaSource PIXEL_ALPHA
public static final AlphaSource FIXED_VALUE
TextureBase.getAlpha()public static AlphaSource[] values()
for (AlphaSource c : AlphaSource.values()) System.out.println(c);
public static AlphaSource 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