Maths · function
decodeSrgbInPlace
Every value of values decoded from sRGB in place, but a negative one, which is a sentinel and
not a colour (MeshBuilder's emissive colour left to the albedo). For whole arrays of colours
picked by eye; see MeshBuildOptions.colorSpace.
Explained in Coordinates and units.
function decodeSrgbInPlace(values: Float32Array): Float32Arrayimport { decodeSrgbInPlace } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
values | Float32Array |