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