add a new BlendMode::Equation : ReverseSubtract

This commit is contained in:
Krozark 2015-08-13 14:40:20 +02:00 committed by Lukas Dürrenberger
parent 63fba49d96
commit 7ff9478061
3 changed files with 6 additions and 2 deletions

View file

@ -68,8 +68,9 @@ struct SFML_GRAPHICS_API BlendMode
////////////////////////////////////////////////////////
enum Equation
{
Add, ///< Pixel = Src * SrcFactor + Dst * DstFactor
Subtract ///< Pixel = Src * SrcFactor - Dst * DstFactor
Add, ///< Pixel = Src * SrcFactor + Dst * DstFactor
Subtract, ///< Pixel = Src * SrcFactor - Dst * DstFactor
ReverseSubtract ///< Pixel = Dst * DstFactor - Src * SrcFactor
};
////////////////////////////////////////////////////////////