Renderer · interface

ColourGradeLut

A cube of display values: size on each axis, size ** 3 * 4 bytes, red varying fastest.

Explained in Hello world.

interface ColourGradeLut
import type { ColourGradeLut } from '@driftengine/core';

Properties

NameTypeDescription
sizereadonlynumberLattice points along each axis. 32 and 33 are what grading tools export.
datareadonlyUint8ArrayRGBA8, size ** 3 * 4 bytes, indexed ((b * size + g) * size + r) * 4.