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