/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as i}from"tslib";import{define as t}from"../../../GraphShaderModule.js";import{mix as r,Vec4 as s,texture2D as h}from"../../../graph/glsl.js";import{BaseRasterColorizerShader as o}from"./BaseRasterColorizerShader.js";class e extends o{constructor(){super(...arguments),this.hasExistingHighlights=!1}_computeHighlightedColor(i,t,o){const e=r(new s(0),t,i);if(this.hasExistingHighlights){const{highlightTexture:t}=this.highlightConfig,s=h(t,o);return r(s,e,i)}return e}}i([t],e.prototype,"hasExistingHighlights",void 0);export{e as BaseRasterHighlightShader};
