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 Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Modifier and TypeMethodDescriptionstatic RenderState.BlendFunc
Returns 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
-
Zero
RGB Factor (0, 0, 0), Alpha Factor (0) -
One
RGB Factor (1, 1, 1), Alpha Factor (1) -
Src_Color
RGB Factor (R_s0, G_s0, B_s0), Alpha Factor (A_s0) -
One_Minus_Src_Color
RGB Factor (1-R_s0, 1-G_s0, 1-B_s0), Alpha Factor (1-A_s0) -
Dst_Color
RGB Factor (R_d, G_d, B_d), Alpha Factor (A_d) -
One_Minus_Dst_Color
RGB Factor (1-R_d, 1-G_d, 1-B_d), Alpha Factor (1-A_d) -
Src_Alpha
RGB Factor (A_s0, A_s0, A_s0), Alpha Factor (A_s0) -
One_Minus_Src_Alpha
RGB Factor (1-A_s0, 1-A_s0, 1-A_s0), Alpha Factor (1-A_s0) -
Dst_Alpha
RGB Factor (A_d, A_d, A_d), Alpha Factor (A_d) -
One_Minus_Dst_Alpha
RGB Factor (1-A_d, 1-A_d, 1-A_d), Alpha Factor (1-A_d) -
Src_Alpha_Saturate
RGB Factor (i, i, i), Alpha Factor (1)
-
-
Method Details
-
values
Returns 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
-
valueOf
Returns 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 nameNullPointerException
- if the argument is null
-