/*
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 o}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{glLayout as s}from"../../support/buffer/glUtil.js";import{ReloadableShader as i}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as t}from"../core/shaderTechnique/ShaderTechnique.js";import{PositionUvLayout as l}from"../materials/DefaultLayouts.js";import{S as a}from"../../../../chunks/SlicePlaneMaterial.glsl.js";import{NoParameters as c}from"../../../webgl/NoParameters.js";import{makePipelineState as m,defaultColorWrite as n,premultipliedAlpha as p}from"../../../webgl/renderState.js";class d extends c{constructor(){super(...arguments),this.backgroundColor=o(1,0,0,.5),this.gridColor=o(0,1,0,.5),this.gridWidth=4}}let h=class extends t{constructor(e,r){super(e,r,s(l)),this.shader=new i(a,()=>import("./SlicePlaneMaterial.glsl.js"))}initializePipeline(){return m({blending:p,depthTest:{func:513},colorWrite:n})}};h=e([r("esri.views.3d.webgl-engine.shaders.SlicePlaneMaterialTechnique")],h);export{d as SlicePlaneMaterialPassParameters,h as SlicePlaneMaterialTechnique};
