Loading...
Searching...
No Matches
BlendMode.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
51 One,
52 SrcColor,
53 OneMinusSrcColor,
54 DstColor,
55 OneMinusDstColor,
56 SrcAlpha,
57 OneMinusSrcAlpha,
58 DstAlpha,
59 OneMinusDstAlpha
Definition AudioResource.hpp:36
@ Zero
If the stencil test passes, the value in the stencil buffer is set to zero.
Definition StencilMode.hpp:63
bool operator==(const BlendMode &left, const BlendMode &right)
Overload of the operator==.
BlendMode(Factor colorSourceFactor, Factor colorDestinationFactor, Equation colorBlendEquation, Factor alphaSourceFactor, Factor alphaDestinationFactor, Equation alphaBlendEquation)
Construct the blend mode given the factors and equation.
BlendMode(Factor sourceFactor, Factor destinationFactor, Equation blendEquation=Equation::Add)
Construct the blend mode given the factors and equation.
Factor colorDstFactor
Destination blending factor for the color channels.
Definition BlendMode.hpp:120
bool operator!=(const BlendMode &left, const BlendMode &right)
Overload of the operator!=.