25 #ifndef CPP3DS_BLENDMODE_HPP
26 #define CPP3DS_BLENDMODE_HPP
(1, 1, 1, 1) - (dst.r, dst.g, dst.b, dst.a)
Blending modes for drawing.
(1, 1, 1, 1) - (dst.a, dst.a, dst.a, dst.a)
Factor
Enumeration of the blending factors.
Factor alphaDstFactor
Destination blending factor for the alpha channel.
Factor alphaSrcFactor
Source blending factor for the alpha channel.
(1, 1, 1, 1) - (src.r, src.g, src.b, src.a)
(src.r, src.g, src.b, src.a)
Equation
Enumeration of the blending equations.
Factor colorDstFactor
Destination blending factor for the color channels.
Factor colorSrcFactor
Source blending factor for the color channels.
(1, 1, 1, 1) - (src.a, src.a, src.a, src.a)
Pixel = Src * SrcFactor - Dst * DstFactor.
(dst.a, dst.a, dst.a, dst.a)
Pixel = Src * SrcFactor + Dst * DstFactor.
(src.a, src.a, src.a, src.a)
(dst.r, dst.g, dst.b, dst.a)
Equation alphaEquation
Blending equation for the alpha channel.
Equation colorEquation
Blending equation for the color channels.
BlendMode()
Default constructor.