/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../chunks/_rollupPluginBabelHelpers","../../../../core/maybe","../../../webgl/RenderingContext"],(function(e,t,n,o){"use strict";let i=function(e){function o(t,n,o){var i;return(i=e.call(this,t,n)||this).newCache=o,i._refCount=1,i}t._inheritsLoose(o,e);var i=o.prototype;return i.dispose=function(){--this._refCount>0||e.prototype.dispose.call(this)},i.ref=function(){++this._refCount},i.bindTechnique=function(e,t,o,i){this.useProgram(e.program);const r=n.isSome(o)?o.slot:null;return e.bindPipelineState(this,r,i),n.isSome(t)&&n.isSome(o)&&e.bindPass(t,o),e.program},t._createClass(o,[{key:"test",get:function(){return this.programCache.test}}]),o}(o.RenderingContext);e.RenderingContext=i,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
