/*
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","../core/shaderTechnique/ReloadableShaderModule","../core/shaderTechnique/ShaderTechnique","../lib/DefaultVertexAttributeLocations","../lib/Program","../../../../chunks/ShadowCastAccumulate.glsl","../../../webgl/enums","../../../webgl/renderState"],(function(e,t,r,a,l,i,n,u,o,c){"use strict";let s=function(e){function t(t,r){var a;return a=e.call(this,t,r,(()=>a.destroy()))||this}r._inheritsLoose(t,e);var a=t.prototype;return a.initializeProgram=function(e){const r=t.shader.get().build();return new n.Program(e.rctx,r,i.Default3D)},a.initializePipeline=function(){return c.makePipelineState({blending:c.separateBlendingParams(o.BlendFactor.ONE,o.BlendFactor.ONE,o.BlendFactor.ONE,o.BlendFactor.ONE),colorWrite:c.defaultColorWriteParams,depthTest:null,depthWrite:null})},r._createClass(t,[{key:"primitiveType",get:function(){return o.PrimitiveType.TRIANGLE_STRIP}}]),t}(l.ShaderTechnique);s.shader=new a.ReloadableShaderModule(u.ShadowCastAccumulate,(()=>new Promise(((t,r)=>e(["./ShadowCastAccumulate.glsl"],t,r))))),t.ShadowCastAccumulateTechnique=s,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
