Serializable, Comparable<MaterialPass.Transparency>public static enum MaterialPass.Transparency extends Enum<MaterialPass.Transparency>
| Enum Constant | Description |
|---|---|
ALPHA |
Use this if the transparent image contains an alpha channel.
|
COLOR |
Use this if the image contains no alpha channel, transparency will be
based on the image color.
|
NONE |
No transparent capability.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MaterialPass.Transparency |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static MaterialPass.Transparency[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MaterialPass.Transparency ALPHA
public static final MaterialPass.Transparency COLOR
public static final MaterialPass.Transparency NONE
public static MaterialPass.Transparency[] values()
for (MaterialPass.Transparency c : MaterialPass.Transparency.values()) System.out.println(c);
public static MaterialPass.Transparency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2018. All rights reserved.