/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../../core/accessorSupport/decorators.js";import{ReloadableShader as o}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as s}from"../../core/shaderTechnique/ShaderTechnique.js";import{SilhouetteEdgeLayout as i,RegularEdgeLayout as t}from"./bufferLayouts.js";import{E as d}from"../../../../../chunks/EdgeShader.glsl.js";import{makePipelineState as n,defaultColorWrite as a,separateBlendingParams as l}from"../../../../webgl/renderState.js";let c=class extends s{constructor(e,r){super(e,r,r.silhouette?i:t),this.shader=new o(d,()=>import("./EdgeShader.glsl.js"))}initializePipeline(){return n({blending:l(1,1,0,1,32774,32776),depthTest:{func:515},colorWrite:a})}};c=e([r("esri.views.3d.webgl-engine.lib.edgeRendering.EdgeShaderTechnique")],c);export{c as EdgeShaderTechnique};
