|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Texture.ApplyMode>
com.jme.image.Texture.ApplyMode
public static enum Texture.ApplyMode
Enum Constant Summary | |
---|---|
Add
Apply modifier adds two textures. |
|
Blend
Apply modifier that interpolates the color of the pixel with a blend color using the texture color, such that the final color value is Cv = (1 - Ct) * Cf + BlendColor * Ct Where Ct is the color of the texture and Cf is the initial pixel color. |
|
Combine
Apply modifier combines two textures based on the combine parameters set on this texture. |
|
Decal
Apply modifier that replaces the color values of the pixel but makes use of the alpha values. |
|
Modulate
Apply modifier multiples the color of the pixel with the texture color. |
|
Replace
Apply modifier that replaces the previous pixel color with the texture color. |
Method Summary | |
---|---|
static Texture.ApplyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Texture.ApplyMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Texture.ApplyMode Replace
public static final Texture.ApplyMode Decal
public static final Texture.ApplyMode Modulate
public static final Texture.ApplyMode Blend
public static final Texture.ApplyMode Combine
public static final Texture.ApplyMode Add
Method Detail |
---|
public static Texture.ApplyMode[] values()
for (Texture.ApplyMode c : Texture.ApplyMode.values()) System.out.println(c);
public static Texture.ApplyMode 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |