com.jme.image
Enum Texture.CombinerFunctionRGB

java.lang.Object
  extended by java.lang.Enum<Texture.CombinerFunctionRGB>
      extended by com.jme.image.Texture.CombinerFunctionRGB
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Texture.CombinerFunctionRGB>
Enclosing class:
Texture

public static enum Texture.CombinerFunctionRGB
extends java.lang.Enum<Texture.CombinerFunctionRGB>


Enum Constant Summary
Add
          Arg0 + Arg1
AddSigned
          Arg0 + Arg1 - 0.5
Dot3RGB
          4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5)) [ result placed in R,G,B ]
Dot3RGBA
          4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5)) [ result placed in R,G,B,A ]
Interpolate
          Arg0 * Arg2 + Arg1 * (1 - Arg2)
Modulate
          Arg0 * Arg1
Replace
          Arg0
Subtract
          Arg0 - Arg1
 
Method Summary
static Texture.CombinerFunctionRGB valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Texture.CombinerFunctionRGB[] 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

Replace

public static final Texture.CombinerFunctionRGB Replace
Arg0


Modulate

public static final Texture.CombinerFunctionRGB Modulate
Arg0 * Arg1


Add

public static final Texture.CombinerFunctionRGB Add
Arg0 + Arg1


AddSigned

public static final Texture.CombinerFunctionRGB AddSigned
Arg0 + Arg1 - 0.5


Interpolate

public static final Texture.CombinerFunctionRGB Interpolate
Arg0 * Arg2 + Arg1 * (1 - Arg2)


Subtract

public static final Texture.CombinerFunctionRGB Subtract
Arg0 - Arg1


Dot3RGB

public static final Texture.CombinerFunctionRGB Dot3RGB
4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5)) [ result placed in R,G,B ]


Dot3RGBA

public static final Texture.CombinerFunctionRGB Dot3RGBA
4 * ((Arg0r - 0.5) * (Arg1r - 0.5) + (Arg0g - 0.5) * (Arg1g - 0.5) + (Arg0b - 0.5) * (Arg1b - 0.5)) [ result placed in R,G,B,A ]

Method Detail

values

public static Texture.CombinerFunctionRGB[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Texture.CombinerFunctionRGB c : Texture.CombinerFunctionRGB.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Texture.CombinerFunctionRGB valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null