Serializable, Comparable<TextureUnit.ColorOperation>public static enum TextureUnit.ColorOperation extends Enum<TextureUnit.ColorOperation>
| Enum Constant | Description |
|---|---|
ADD |
Add color components together.
|
ALPHA_BLEND |
Blend based on texture alpha.
|
MODULATE |
Multiply color components together.
|
REPLACE |
Replace all color with texture with no adjustment.
|
| Modifier and Type | Method | Description |
|---|---|---|
static TextureUnit.ColorOperation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TextureUnit.ColorOperation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextureUnit.ColorOperation REPLACE
public static final TextureUnit.ColorOperation ADD
public static final TextureUnit.ColorOperation MODULATE
public static final TextureUnit.ColorOperation ALPHA_BLEND
public static TextureUnit.ColorOperation[] values()
for (TextureUnit.ColorOperation c : TextureUnit.ColorOperation.values()) System.out.println(c);
public static TextureUnit.ColorOperation 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.