@ -205,7 +205,6 @@ public class RenderState implements Cloneable, Savable {
Max
}
/ * *
* < code > BlendFunc < / code > defines the blending functions for use with
* < code > BlendMode . Custom < / code > .
@ -216,67 +215,49 @@ public class RenderState implements Cloneable, Savable {
/ * *
* RGB Factor ( 0 , 0 , 0 ) , Alpha Factor ( 0 )
* /
Zero ( 0 ) ,
Zero ,
/ * *
* RGB Factor ( 1 , 1 , 1 ) , Alpha Factor ( 1 )
* /
One ( 1 ) ,
One ,
/ * *
* RGB Factor ( R_s0 , G_s0 , B_s0 ) , Alpha Factor ( A_s0 )
* /
Src_Color ( 2 ) ,
Src_Color ,
/ * *
* RGB Factor ( 1 - R_s0 , 1 - G_s0 , 1 - B_s0 ) , Alpha Factor ( 1 - A_s0 )
* /
One_Minus_Src_Color ( 3 ) ,
One_Minus_Src_Color ,
/ * *
* RGB Factor ( R_d , G_d , B_d ) , Alpha Factor ( A_d )
* /
Dst_Color ( 4 ) ,
Dst_Color ,
/ * *
* RGB Factor ( 1 - R_d , 1 - G_d , 1 - B_d ) , Alpha Factor ( 1 - A_d )
* /
One_Minus_Dst_Color ( 5 ) ,
One_Minus_Dst_Color ,
/ * *
* RGB Factor ( A_s0 , A_s0 , A_s0 ) , Alpha Factor ( A_s0 )
* /
Src_Alpha ( 6 ) ,
Src_Alpha ,
/ * *
* RGB Factor ( 1 - A_s0 , 1 - A_s0 , 1 - A_s0 ) , Alpha Factor ( 1 - A_s0 )
* /
One_Minus_Src_Alpha ( 7 ) ,
One_Minus_Src_Alpha ,
/ * *
* RGB Factor ( A_d , A_d , A_d ) , Alpha Factor ( A_d )
* /
Dst_Alpha ( 8 ) ,
Dst_Alpha ,
/ * *
* RGB Factor ( 1 - A_d , 1 - A_d , 1 - A_d ) , Alpha Factor ( 1 - A_d )
* /
One_Minus_Dst_Alpha ( 9 ) ,
One_Minus_Dst_Alpha ,
/ * *
* RGB Factor ( i , i , i ) , Alpha Factor ( 1 )
* /
Src_Alpha_Saturate ( 10 ) ;
// Convenience value for easy use by the renderer.
private final int value ;
// Convenience constructor.
private BlendFunc ( int value ) {
this . value = value ;
}
/ * *
* Provides a predefined integer value for easy use by the renderer .
*
* @return The predefined integer value .
* /
public int getIntValue ( ) {
return value ;
}
Src_Alpha_Saturate ;
}
/ * *
* < code > BlendMode < / code > specifies the blending operation to use .
*