/*
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{ReloadableShader as s}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as o}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 c}from"../../../../webgl/renderState.js";let h=class extends o{constructor(e,r){super(e,r,r.silhouette?i:t),this.shader=new s(d,()=>import("../../shaders/sources/edgeRenderer/EdgeShader.glsl.js"))}initializePipeline(){return n({blending:c(1,1,0,1,32774,32776),depthTest:{func:515},colorWrite:a})}};h=e([r("esri.views.3d.webgl-engine.lib.edgeRendering.EdgeShaderTechnique")],h);export{h as EdgeShaderTechnique};
