/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{equals as t}from"../../../core/arrayUtils.js";import{fromValues as e}from"../../../core/libs/gl-matrix-2/factories/vec3f64.js";class s{constructor(t,s,r,i,o,a){this.texture=t,this.type=s,this.offsetAndScale=r,t.retain(),this.opacities=e(i,o,a)}destroy(){this.texture.release()}equals(e){return null!=e&&this.texture===e.texture&&t(this.offsetAndScale,e.offsetAndScale)&&t(this.opacities,e.opacities)}}export{s as TextureReference};
