/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{Container as e}from"../../../Container.js";import{TestDisplayObject as s}from"./TestDisplayObject.js";class r extends e{constructor(e,s){super(),this.store=e,this.meshData=s}whenRender(){return null==this._resolver&&(this._resolver=Promise.withResolvers(),this.requestRender()),this._resolver.promise}doRender(e){const r=s.fromMeshData(this.meshData,this.store);for(const[s,t]of this.store.entries())r.setActiveMesh(s),t.techniqueRef.render(e,r);r.destroy(),this._resolver&&(this._resolver.resolve(),this._resolver=null)}}export{r as TechniqueDebugContainer};
