/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{ResourceType as e}from"./enums.js";class t{constructor(t){this._context=t,this.type="transform-feedback",this._glName=this._gl.createTransformFeedback(),this._context.instanceCounter.increment(e.TransformFeedback,this)}dispose(){this._context.gl&&this._glName&&(this._gl.deleteTransformFeedback(this._glName),this._glName=null,this._context.instanceCounter.decrement(e.TransformFeedback,this))}get _gl(){return this._context.gl}get glName(){return this._glName}}export{t as TransformFeedback};
