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