/*
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/CloudsComposition.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,i,o,r,l,t,a,u,s){"use strict";let d=function(e){function n(n){var i;return i=e.call(this,n,null,(()=>i.destroy()))||this}i._inheritsLoose(n,e);var o=n.prototype;return o.initializeProgram=function(e){const i=n.shader.get().build();return new a.Program(e.rctx,i,t.Default3D)},o.initializePipeline=function(){return s.makePipelineState({blending:s.simpleBlendingParams(u.BlendFactor.ONE,u.BlendFactor.SRC_ALPHA),depthTest:{func:u.CompareFunction.LEQUAL},colorWrite:s.defaultColorWriteParams})},n}(l.ShaderTechnique);d.shader=new r.ReloadableShaderModule(o.CloudsCompositionShader,(()=>new Promise(((n,i)=>e(["./CloudsComposition.glsl"],n,i))))),n.CloudsCompositionTechnique=d,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
