/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{BaseRasterProcessorTechnique as s}from"./BaseRasterProcessorTechnique.js";import{SpectralConversionShader as e}from"../../shaders/raster/processor/SpectralConversionShader.js";class r extends s{constructor(){super(...arguments),this.name="RasterSpectralConversionProcessor",this.type=22,this.shaders={spectralConversion:new e}}_process(s,e){const r=s.rasterFunction.parameters,o=this._getCommonConfig(s,e),t={shader:this.shaders.spectralConversion,uniforms:{config:o,spectralConversionConfig:r},defines:{},optionalAttributes:null,useComputeBuffer:!1},{painter:n,context:a}=s;n.submitDrawMesh(a,t,n.quadMesh)}}export{r as SpectralConversionTechnique};
