/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{FeatureTechnique as e}from"../FeatureTechnique.js";import{isHittest as t,getSelectionDefines as r,getFeatureTextures as s,getFeatureUniforms as i,resolveDynamicUniforms as o,getFeaturePipelineState as n}from"../featureTechniqueUtils.js";import{getAntialiasingControls as a}from"../line/utils.js";import{OutlineFillShader as u}from"../shaders/OutlineFillShader.js";class m extends e{constructor(){super(...arguments),this.type=26,this.shaders={geometry:new u}}render(e,u){const{painter:m,pixelRatio:p}=e,l=u.instance.getInput();m.setShader({shader:this.shaders.geometry,uniforms:{...o(e,u.target,l.uniforms),...i(e,u.target),antialiasingControls:a(p)},textures:s(e),defines:{...r(e)},optionalAttributes:l.optionalAttributes,useComputeBuffer:t(e)}),m.setPipelineState(n(e)),m.submitDraw(e,u)}}export{m as OutlineFillTechnique};
