Module technology.sola.engine
Class NormalBlendFunction
java.lang.Object
technology.sola.engine.graphics.renderer.blend.NormalBlendFunction
- All Implemented Interfaces:
BlendFunction
Blends top onto bottom based on alpha of top pixel.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NormalBlendFunction
public NormalBlendFunction()
-
-
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
-