enum SF::BlendMode::Equation
Overview
Enumeration of the blending equations
The equations are mapped directly to their OpenGL equivalents, specified by gl_blend_equation() or gl_blend_equation_separate().
Defined in:
graphics/obj.crEnum Members
-
Add =
0
-
Pixel = Src * SrcFactor + Dst * DstFactor
-
Subtract =
1
-
Pixel = Src * SrcFactor - Dst * DstFactor
-
ReverseSubtract =
2
-
Pixel = Dst * DstFactor - Src * SrcFactor