/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../core/accessorSupport/decorators.js";import{fromValues as s}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{glLayout as i}from"../../support/buffer/glUtil.js";import{ReloadableShader as o}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as t}from"../core/shaderTechnique/ShaderTechnique.js";import{PositionUvLayout as a}from"../materials/DefaultLayouts.js";import{S as l}from"../../../../chunks/SlicePlaneMaterial.glsl.js";import{NoParameters as m}from"../../../webgl/NoParameters.js";import{makePipelineState as c,defaultColorWrite as n,modulateDestination as p,premultipliedAlpha as d}from"../../../webgl/renderState.js";class h extends m{constructor(){super(...arguments),this.backgroundColor=s(1,0,0,.5),this.gridColor=s(0,1,0,.5),this.gridWidth=4}}let u=class extends t{constructor(e,r){super(e,r,i(a)),this.shader=new o(l,()=>import("./SlicePlaneMaterial.glsl.js"))}initializePipeline(e){return c({blending:e.emissionDimmingPass?p:d,depthTest:{func:513},colorWrite:n})}};u=e([r("esri.views.3d.webgl-engine.shaders.SlicePlaneMaterialTechnique")],u);export{h as SlicePlaneMaterialPassParameters,u as SlicePlaneMaterialTechnique};
