/*
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/vec4f64","../core/shaderModules/interfaces","../core/shaderTechnique/ReloadableShaderModule","../core/shaderTechnique/ShaderTechnique","../lib/DefaultVertexAttributeLocations","../lib/Program","../../../../chunks/SlicePlaneMaterial.glsl","../../../webgl/enums","../../../webgl/renderState"],(function(e,r,a,i,t,n,l,o,u,s,c,d){"use strict";let h=function(e){function r(){var r;return(r=e.apply(this,arguments)||this).backgroundColor=i.fromValues(1,0,0,.5),r.gridColor=i.fromValues(0,1,0,.5),r.gridWidth=4,r}return a._inheritsLoose(r,e),r}(t.NoParameters),P=function(e){function r(){return e.apply(this,arguments)||this}a._inheritsLoose(r,e);var i=r.prototype;return i.initializeProgram=function(e){const a=r.shader.get().build(this.configuration);return new u.Program(e.rctx,a,o.Default3D)},i.initializePipeline=function(){return d.makePipelineState({blending:d.separateBlendingParams(c.BlendFactor.ONE,c.BlendFactor.ONE,c.BlendFactor.ONE_MINUS_SRC_ALPHA,c.BlendFactor.ONE_MINUS_SRC_ALPHA),depthTest:{func:c.CompareFunction.LESS},colorWrite:d.defaultColorWriteParams})},r}(l.ShaderTechnique);P.shader=new n.ReloadableShaderModule(s.SlicePlaneMaterial,(()=>new Promise(((r,a)=>e(["./SlicePlaneMaterial.glsl"],r,a))))),r.SlicePlaneMaterialPassParameters=h,r.SlicePlaneMaterialTechnique=P,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
