/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../../core/accessorSupport/decorators.js";import{ReloadableShader as t}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as i}from"../../core/shaderTechnique/ShaderTechnique.js";import{P as s}from"../../../../../chunks/Precipitation.glsl.js";import{DataType as o}from"../../../../webgl/enums.js";import{NoParameters as n}from"../../../../webgl/NoParameters.js";import{makePipelineState as c,defaultColorWrite as p,premultipliedAlpha as a}from"../../../../webgl/renderState.js";import{VertexElementDescriptor as m}from"../../../../webgl/VertexElementDescriptor.js";class l extends n{constructor(){super(...arguments),this.time=0,this.radius=1,this.width=500,this.opacity=0}}let h=class extends i{constructor(e,r){super(e,r,[new m("position",2,o.FLOAT,0,16),new m("instanceFeatureAttribute",2,o.FLOAT,8,16)]),this.shader=new t(s,()=>import("./Precipitation.glsl.js"))}initializePipeline(){return c({blending:a,depthTest:{func:515},colorWrite:p})}};h=e([r("esri.views.3d.webgl-engine.effects.precipitation.PrecipitationTechnique")],h);export{l as PrecipitationPassParameters,h as PrecipitationTechnique};
