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