/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as o}from"tslib";import{uniform as r,texture as t}from"../../../GraphShaderModule.js";import{Float as e}from"../../../graph/glsl.js";import{BaseRasterColorizerShader as s}from"./BaseRasterColorizerShader.js";import{lookupColor as i,ColormapConfig as p,ColormapTextures as l}from"./lut.js";class m extends s{constructor(){super(...arguments),this.type="RasterColorizerLUTShader"}_colorize(o){const r=this._getPixel(o);return i(r,new e(1),this.colormapConfig,this.colormapTextures,!1)}}o([r(p)],m.prototype,"colormapConfig",void 0),o([t(l)],m.prototype,"colormapTextures",void 0);export{m as RasterColorizerLUTShader};
