mcut
@mcut/compositor

curveToLut

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / compositor/src / curveToLut

Function: curveToLut()

function curveToLut(points): Float32Array;

Defined in: packages/compositor/src/webgpu/effect-plan.ts:60

Monotone-x piecewise-linear curve → 256-entry LUT (identity when empty).

Parameters

points

readonly CurvePoint[] | undefined

Returns

Float32Array

On this page