Module technology.sola.engine
Interface BlendFunction
- All Known Implementing Classes:
BlendMode
,DissolveBlendFunction
,LightenBlendFunction
,LinearDodgeBlendFunction
,MaskBlendFunction
,MultiplyBlendFunction
,NoBlendFunction
,NormalBlendFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
BlendFunction controls how the pixel being drawn (top) and the destination pixel (bottom) will be blended together to
produce a final color that is drawn.
-
Method Summary
-
Method Details
-
set
Method called to set the color of the pixel at pixelIndex.- Parameters:
pixels
- the array of pixelspixelIndex
- the index of the destination pixel to modifycolor
- theColor
of the top pixel being applied
-