/*
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/NoiseTextureAtlas.glsl","./NoiseTextureAtlasConfiguration","../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,d){"use strict";let c=function(e){function n(){return e.apply(this,arguments)||this}r._inheritsLoose(n,e);var t=n.prototype;return t.initializeProgram=function(e){const r=n.shader.get().build(this.configuration);return new u.Program(e.rctx,r,a.Default3D)},t.initializePipeline=function(){return d.makePipelineState({blending:this.configuration.mode===i.NoiseTextureRenderMode.Full?d.simpleBlendingParams(s.BlendFactor.ONE,s.BlendFactor.ZERO):d.separateBlendingParams(s.BlendFactor.ZERO,s.BlendFactor.ONE,s.BlendFactor.ONE,s.BlendFactor.ZERO),depthTest:{func:s.CompareFunction.ALWAYS},colorWrite:d.defaultColorWriteParams})},n}(o.ShaderTechnique);c.shader=new l.ReloadableShaderModule(t.NoiseTextureAtlas,(()=>new Promise(((n,r)=>e(["./NoiseTextureAtlas.glsl"],n,r))))),n.NoiseTextureAtlasTechnique=c,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
