25 #ifndef SFML_BLENDMODE_H
26 #define SFML_BLENDMODE_H
85 #endif // SFML_BLENDMODE_H
sfBlendEquation
Enumeration of the blending equations.
#define CSFML_GRAPHICS_API
sfBlendFactor
Enumeration of the blending factors.
sfBlendFactor alphaSrcFactor
Source blending factor for the alpha channel.
(1, 1, 1, 1) - (src.a, src.a, src.a, src.a)
CSFML_GRAPHICS_API const sfBlendMode sfBlendNone
Overwrite dest with source.
(1, 1, 1, 1) - (dst.r, dst.g, dst.b, dst.a)
(1, 1, 1, 1) - (dst.a, dst.a, dst.a, dst.a)
sfBlendEquation alphaEquation
Blending equation for the alpha channel.
sfBlendFactor colorDstFactor
Destination blending factor for the color channels.
sfBlendEquation colorEquation
Blending equation for the color channels.
(dst.a, dst.a, dst.a, dst.a)
CSFML_GRAPHICS_API const sfBlendMode sfBlendAlpha
Blend source and dest according to dest alpha.
(dst.r, dst.g, dst.b, dst.a)
(1, 1, 1, 1) - (src.r, src.g, src.b, src.a)
Blending mode for drawing.
(src.r, src.g, src.b, src.a)
CSFML_GRAPHICS_API const sfBlendMode sfBlendMultiply
Multiply source and dest.
sfBlendFactor colorSrcFactor
Source blending factor for the color channels.
(src.a, src.a, src.a, src.a)
sfBlendFactor alphaDstFactor
Destination blending factor for the alpha channel.
CSFML_GRAPHICS_API const sfBlendMode sfBlendAdd
Add source to dest.
Pixel = Src * SrcFactor + Dst * DstFactor.
Pixel = Src * SrcFactor - Dst * DstFactor.