/*
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/mat4f64","../../../chunks/Stars.glsl","../webgl-engine/core/shaderModules/interfaces","../webgl-engine/core/shaderTechnique/ReloadableShaderModule","../webgl-engine/core/shaderTechnique/ShaderTechnique","../webgl-engine/lib/DefaultVertexAttributeLocations","../webgl-engine/lib/Program","../../webgl/enums","../../webgl/renderState"],(function(e,r,n,t,a,i,l,o,s,u,c,d){"use strict";let h=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).modelMatrix=t.create(),r}return n._inheritsLoose(r,e),r}(i.NoParameters),g=function(e){function r(r){var n;return n=e.call(this,r,null,(()=>n.destroy()))||this}n._inheritsLoose(r,e);var t=r.prototype;return t.initializeProgram=function(e){const n=r.shader.get().build();return new u.Program(e.rctx,n,s.Default3D)},t.initializePipeline=function(){return d.makePipelineState({blending:d.separateBlendingParams(c.BlendFactor.SRC_ALPHA,c.BlendFactor.ONE,c.BlendFactor.ONE_MINUS_SRC_ALPHA,c.BlendFactor.ONE_MINUS_SRC_ALPHA),depthTest:{func:c.CompareFunction.LEQUAL},colorWrite:d.defaultColorWriteParams})},r}(o.ShaderTechnique);g.shader=new l.ReloadableShaderModule(a.Stars,(()=>new Promise(((r,n)=>e(["./Stars.glsl"],r,n))))),r.StarPassParameters=h,r.StarsTechnique=g,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
