/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import e from"../webgl/WGLContainer.js";import{VectorFieldTechnique as s}from"../webgl/shaderGraph/techniques/raster/VectorFieldTechnique.js";class t extends e{constructor(){super(...arguments),this.symbolTypes=["triangle"]}onAttach(){super.onAttach(),this._vectorFieldTechnique=new s}onDetach(){super.onDetach(),this._vectorFieldTechnique?.shutdown(),this._vectorFieldTechnique=void 0}doRender(e){this.visible&&1===e.drawPhase&&this.symbolTypes.forEach(s=>{e.renderPass=s,super.doRender(e);const t=this.children.map(e=>e);this._vectorFieldTechnique.render(e,{tiles:t})})}}export{t as RasterVFContainer};
