BlendMode
A blend mode.
Constructor Summary
Public Constructor | ||
public |
constructor(blendFunction: BlendFunction, opacity: Number) Constructs a new blend mode. |
Member Summary
Public Members | ||
public |
The blend function. |
|
public |
opacity: Uniform The opacity of the color that will be blended with the base color. |
Method Summary
Public Methods | ||
public |
Returns the blend function shader code. |
Public Constructors
public constructor(blendFunction: BlendFunction, opacity: Number) source
Constructs a new blend mode.
Params:
Name | Type | Attribute | Description |
blendFunction | BlendFunction | The blend function to use. |
|
opacity | Number | The opacity of the color that will be blended with the base color. |