Module technology.sola.engine
Class LightenBlendFunction
java.lang.Object
technology.sola.engine.graphics.renderer.blend.LightenBlendFunction
- All Implemented Interfaces:
BlendFunction
Takes the max value of each channel for the destination pixel; alpha, red, green, blue.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LightenBlendFunction
public LightenBlendFunction()
-
-
Method Details
-
set
Description copied from interface:BlendFunctionMethod called to set the color of the pixel at pixelIndex.- Specified by:
setin interfaceBlendFunction- Parameters:
pixels- the array of pixelspixelIndex- the index of the destination pixel to modifycolor- theColorof the top pixel being applied
-