Package com.jme3.material
Enum Class RenderState.BlendFunc
- All Implemented Interfaces:
- Serializable,- Comparable<RenderState.BlendFunc>,- Constable
- Enclosing class:
- RenderState
BlendFunc defines the blending functions for use with 
 BlendMode.Custom.
 Source color components are referred to as (R_s0, G_s0, B_s0, A_s0).
 Destination color components are referred to as (R_d, G_d, B_d, A_d).- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionRGB Factor (A_d, A_d, A_d), Alpha Factor (A_d)RGB Factor (R_d, G_d, B_d), Alpha Factor (A_d)RGB Factor (1, 1, 1), Alpha Factor (1)RGB Factor (1-A_d, 1-A_d, 1-A_d), Alpha Factor (1-A_d)RGB Factor (1-R_d, 1-G_d, 1-B_d), Alpha Factor (1-A_d)RGB Factor (1-A_s0, 1-A_s0, 1-A_s0), Alpha Factor (1-A_s0)RGB Factor (1-R_s0, 1-G_s0, 1-B_s0), Alpha Factor (1-A_s0)RGB Factor (A_s0, A_s0, A_s0), Alpha Factor (A_s0)RGB Factor (i, i, i), Alpha Factor (1)RGB Factor (R_s0, G_s0, B_s0), Alpha Factor (A_s0)RGB Factor (0, 0, 0), Alpha Factor (0)
- 
Method SummaryModifier and TypeMethodDescriptionstatic RenderState.BlendFuncReturns the enum constant of this class with the specified name.static RenderState.BlendFunc[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
ZeroRGB Factor (0, 0, 0), Alpha Factor (0)
- 
OneRGB Factor (1, 1, 1), Alpha Factor (1)
- 
Src_ColorRGB Factor (R_s0, G_s0, B_s0), Alpha Factor (A_s0)
- 
One_Minus_Src_ColorRGB Factor (1-R_s0, 1-G_s0, 1-B_s0), Alpha Factor (1-A_s0)
- 
Dst_ColorRGB Factor (R_d, G_d, B_d), Alpha Factor (A_d)
- 
One_Minus_Dst_ColorRGB Factor (1-R_d, 1-G_d, 1-B_d), Alpha Factor (1-A_d)
- 
Src_AlphaRGB Factor (A_s0, A_s0, A_s0), Alpha Factor (A_s0)
- 
One_Minus_Src_AlphaRGB Factor (1-A_s0, 1-A_s0, 1-A_s0), Alpha Factor (1-A_s0)
- 
Dst_AlphaRGB Factor (A_d, A_d, A_d), Alpha Factor (A_d)
- 
One_Minus_Dst_AlphaRGB Factor (1-A_d, 1-A_d, 1-A_d), Alpha Factor (1-A_d)
- 
Src_Alpha_SaturateRGB Factor (i, i, i), Alpha Factor (1)
 
- 
- 
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
 
 
-