Skip to content

Function: createColormapTexture() ​

ts
function createColormapTexture(name, size?): DataTexture;

Defined in: textures/createColormapTexture.ts:4

Parameters ​

name ​

| string | ColorMap | Color[]

size? ​

number = 256

Returns ​

DataTexture

Released under the MIT License.