Skip to content

openrv-web / BlendModeContribution

Interface: BlendModeContribution

Defined in: plugin/types.ts:185

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:187

Human-readable label

Methods

blend()

blend(base, top): number

Defined in: plugin/types.ts:189

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

Parameters

base

number

top

number

Returns

number

Released under the MIT License.