/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../../core/accessorSupport/decorators.js";import{fromValues as i}from"../../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{ReadShadowMapPassParameters as s}from"../../core/shaderLibrary/shading/ReadShadowMap.glsl.js";import{ReloadableShader as t}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as o}from"../../core/shaderTechnique/ShaderTechnique.js";import{S as h}from"../../../../../chunks/ShadowHighlight.glsl.js";import{PrimitiveType as a}from"../../../../webgl/enums.js";import{makePipelineState as l,defaultColorWrite as c,unpremultipliedAlphaToPremultipliedAlpha as d}from"../../../../webgl/renderState.js";class n extends s{constructor(){super(...arguments),this.shadowColor=i(1,0,1,1),this.shadowOpacity=.2,this.occludedShadowOpacity=.1,this.opacityElevation=1,this.dayNightTerminator=1}}let p=class extends o{constructor(){super(...arguments),this.shader=new t(h,()=>import("../../shaders/ShadowHighlight.glsl.js")),this.primitiveType=a.TRIANGLE_STRIP}initializePipeline(){return l({blending:d,colorWrite:c,depthTest:null,depthWrite:null})}};p=e([r("esri.views.3d.webgl-engine.effects.highlight.ShadowHighlightTechnique")],p);export{n as ShadowHighlightPassParameters,p as ShadowHighlightTechnique};
