/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../chunks/_rollupPluginBabelHelpers","../../../../core/maybe","../core/shaderLibrary/ShaderOutputOptions","../core/shaderTechnique/ShaderTechniqueConfiguration","../lib/GLMaterial","../lib/Material","../lib/RenderSlot","./internal/DefaultBufferWriter","./internal/MaterialUtil","../shaders/SlicePlaneMaterialTechnique"],(function(e,r,t,n,i,u,a,l,o,c,s){"use strict";let f=function(e){function t(r){var t;return(t=e.call(this,r,new d)||this)._config=new i.ShaderTechniqueConfiguration,t}r._inheritsLoose(t,e);var u=t.prototype;return u.intersect=function(e,r,t,n,i,u,a){return c.intersectTriangleGeometry(e,r,n,i,u,void 0,a)},u.createBufferWriter=function(){return new o.DefaultBufferWriter(o.PositionUVLayout)},u.requiresSlot=function(e){return e===l.RenderSlot.TRANSPARENT_DEPTH_WRITE_DISABLED_MATERIAL},u.createGLMaterial=function(e){return e.output===n.ShaderOutput.Color?new h(e):null},u.getConfiguration=function(){return this._config},t}(a.Material),h=function(e){function n(r){var t;return(t=e.call(this,r)||this).ensureTechnique(s.SlicePlaneMaterialTechnique,null),t}return r._inheritsLoose(n,e),n.prototype.beginSlot=function(){return t.unwrap(this.technique)},n}(u),d=function(e){function t(){var r;return(r=e.apply(this,arguments)||this).renderOccluded=a.RenderOccludedFlag.Occlude,r}return r._inheritsLoose(t,e),t}(s.SlicePlaneMaterialPassParameters);e.Parameters=d,e.SlicePlaneMaterial=f,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
