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