Function: createColorscaleTexture()
ts
function createColorscaleTexture(scale, space?): DataTexture;Experimental
Create a LUT texture (not cached; prefer acquireColorscaleTexture).
Parameters
| Parameter | Type | Default value |
|---|---|---|
scale | Colorscale | undefined |
space | ColorscaleInterpolation | 'rgb' |
Returns
DataTexture