Module technology.sola.engine
Class DissolveBlendFunction
java.lang.Object
technology.sola.engine.graphics.renderer.blend.DissolveBlendFunction
- All Implemented Interfaces:
BlendFunction
Random chance of using color of top pixel based on alpha as the probability. An alpha of 127 would be a 50% chance
of using the top pixel.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DissolveBlendFunction
public DissolveBlendFunction()
-
-
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
-