Skip to content

openrv-web / BlendModeContribution

Interface: BlendModeContribution ​

Defined in: plugin/types.ts:186

Blend mode contribution: a per-channel blending function. Receives normalized [0,1] channel values and returns the blended result.

Properties ​

label ​

label: string

Defined in: plugin/types.ts:188

Human-readable label

Methods ​

blend() ​

blend(base, top): number

Defined in: plugin/types.ts:190

Blend function: (baseChannel, topChannel) => blendedChannel, all in [0,1]

Parameters ​

base ​

number

top ​

number

Returns ​

number

Released under the MIT License.