/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["require","exports","../../../chunks/_rollupPluginBabelHelpers","../../../chunks/Clouds.glsl","../webgl-engine/core/shaderTechnique/ReloadableShaderModule","../webgl-engine/core/shaderTechnique/ShaderTechnique","../webgl-engine/lib/DefaultVertexAttributeLocations","../webgl-engine/lib/Program","../../webgl/enums","../../webgl/renderState"],(function(e,n,r,t,i,l,o,a,u,s){"use strict";let d=function(e){function n(n,r){var t;return t=e.call(this,n,r,(()=>t.destroy()))||this}r._inheritsLoose(n,e);var t=n.prototype;return t.initializeProgram=function(e){const r=n.shader.get().build(this.configuration);return new a.Program(e.rctx,r,o.Default3D)},t.initializePipeline=function(){return s.makePipelineState({blending:s.separateBlendingParams(u.BlendFactor.ONE,u.BlendFactor.ONE,u.BlendFactor.ZERO,u.BlendFactor.ZERO),depthTest:{func:u.CompareFunction.LEQUAL},colorWrite:s.defaultColorWriteParams})},n}(l.ShaderTechnique);d.shader=new i.ReloadableShaderModule(t.Clouds,(()=>new Promise(((n,r)=>e(["./Clouds.glsl"],n,r))))),n.CloudsTechnique=d,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
