invoke

operator fun invoke(color: FloatArray, out: FloatArray? = null): FloatArray

Maps an open domain (or "scene referred") color value to a display domain (or "display referred") color value. Both are in the Rec.2020 color space, with no transfer function applied ("linear Rec.2020").

Return

The tone mapped color, as 3 floats.

Parameters

color

Input color to tone map, as 3 floats.

out

Optional FloatArray for the result; created if null.