/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/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,{config:t,textures:o}=this._getCommonConfig(s,e),n={shader:this.shaders.spectralConversion,uniforms:{config:t,spectralConversionConfig:r},textures:o,defines:{},optionalAttributes:null,useComputeBuffer:!1},{painter:i,context:a}=s;i.submitDrawMesh(a,n,i.quadMesh)}}export{r as SpectralConversionTechnique};
