/*
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","../../../../../chunks/vec2","../../../../../chunks/vec2f64","./Float2PassUniform","./Uniform","../shaderTechnique/BindType"],(function(e,n,s,t,r,i,o,u){"use strict";let c=function(e){function s(n,s){return e.call(this,n,"sampler2D",u.BindType.Pass,((e,t,r)=>e.bindTexture(n,s(t,r))))||this}return n._inheritsLoose(s,e),s}(o.Uniform);function a(e,n,o){const u=[new c(e,n)];if(o){const o=e+"Size";u.push(new i.Float2PassUniform(o,((e,i)=>{const o=n(e,i);return s.isSome(o)?t.set(l,o.descriptor.width,o.descriptor.height):r.ZEROS})))}return u}const l=r.create();e.Texture2DPassUniform=c,e.createTexture2DPassSizeUniforms=a,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
