Module technology.sola.engine
Class NoBlendFunction
java.lang.Object
technology.sola.engine.graphics.renderer.blend.NoBlendFunction
- All Implemented Interfaces:
BlendFunction
No blending happens. Top pixel is used.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NoBlendFunction
public NoBlendFunction()
-
-
Method Details
-
set
Description copied from interface:BlendFunction
Method called to set the color of the pixel at pixelIndex.- Specified by:
set
in interfaceBlendFunction
- Parameters:
pixels
- the array of pixelspixelIndex
- the index of the destination pixel to modifycolor
- theColor
of the top pixel being applied
-