text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See https://js.arcgis.com/3.38/esri/copyright.txt for details.
  //>>built
  define("esri/layers/vectorTiles/views/webgl/Renderbuffer",["require","exports","dojo/has"],function(g,h,e){return function(){function a(b,c){this._context=b;this._desc=c;this._glName=null;this._id=-1;b=this._context.gl;e("esri-webgl-debug")&&this._context.instanceCounter.incrementCount(5);this._id=++a._nextId;this._glName=b.createRenderbuffer();this._context.bindRenderbuffer(this);b.renderbufferStorage(b.RENDERBUFFER,c.internalFormat,c.width,c.height)}Object.defineProperty(a.prototype,"descriptor",
  {get:function(){return this._desc},enumerable:!0,configurable:!0});Object.defineProperty(a.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0});Object.defineProperty(a.prototype,"glName",{get:function(){return this._glName},enumerable:!0,configurable:!0});a.prototype.resize=function(b,c){var f=this._context.gl,d=this._desc;if(d.width!==b||d.height!==c)d.width=b,d.height=c,this._context.bindRenderbuffer(this),f.renderbufferStorage(f.RENDERBUFFER,d.internalFormat,d.width,
  d.height)};a.prototype.dispose=function(){this._glName&&(this._context.gl.deleteRenderbuffer(this._glName),this._glName=null);e("esri-webgl-debug")&&this._context.instanceCounter.decrementCount(5);this._context=null};a._nextId=0;return a}()});