Package com.jme3.material
Enum Class RenderState.BlendEquation
- All Implemented Interfaces:
- Serializable,- Comparable<RenderState.BlendEquation>,- Constable
- Enclosing class:
- RenderState
BlendEquation specifies the blending equation to combine
 pixels.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionSets the blend equation so that the source and destination data are added.Sets the blend equation so that each component of the result color is the maximum of the corresponding components of the source and destination colors.Sets the blend equation so that each component of the result color is the minimum of the corresponding components of the source and destination colors.Same as Subtract, but the order is reversed (Dst - Src).Sets the blend equation so that the source and destination data are subtracted (Src - Dest).
- 
Method SummaryModifier and TypeMethodDescriptionstatic RenderState.BlendEquationReturns the enum constant of this class with the specified name.static RenderState.BlendEquation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
AddSets the blend equation so that the source and destination data are added. (Default) Clamps to [0,1] Useful for things like antialiasing and transparency.
- 
SubtractSets the blend equation so that the source and destination data are subtracted (Src - Dest). Clamps to [0,1] Falls back to Add if supportsSubtract is false.
- 
ReverseSubtractSame as Subtract, but the order is reversed (Dst - Src). Clamps to [0,1] Falls back to Add if supportsSubtract is false.
- 
MinSets the blend equation so that each component of the result color is the minimum of the corresponding components of the source and destination colors. This and Max are useful for applications that analyze image data (image thresholding against a constant color, for example). Falls back to Add if supportsMinMax is false.
- 
MaxSets the blend equation so that each component of the result color is the maximum of the corresponding components of the source and destination colors. This and Min are useful for applications that analyze image data (image thresholding against a constant color, for example). Falls back to Add if supportsMinMax is false.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-