/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{getFormatBytesPerElement as t}from"./Util.js";class i{constructor(t,i=0,h=i,r=!1,s=1){this.internalFormat=t,this.width=i,this.height=h,this.multisampled=r,this.samples=s}}function h(i){return i.width<=0||i.height<=0||null==i.internalFormat?0:i.width*i.height*t(i.internalFormat)}export{i as RenderbufferDescriptor,h as estimateMemory};
