Enum gfx::state::Equation
[−]
[src]
pub enum Equation { Add, Sub, RevSub, Min, Max, }
Variants
Add | Adds source and destination. Source and destination are multiplied by blending parameters before addition. | |
Sub | Subtracts destination from source. Source and destination are multiplied by blending parameters before subtraction. | |
RevSub | Subtracts source from destination. Source and destination are multiplied by blending parameters before subtraction. | |
Min | Component-wise minimum value of source and destination. Blending parameters are ignored. | |
Max | Component-wise maximum value of source and destination. Blending parameters are ignored. |