/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","./basicInterfaces","../../../webgl/enums"],(function(e,n,i){"use strict";const t={func:i.CompareFunction.LESS},a={func:i.CompareFunction.ALWAYS},l={mask:255},s={mask:0},o=e=>({function:{func:i.CompareFunction.NOTEQUAL,ref:e,mask:e},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.KEEP}}),c=e=>({function:{func:i.CompareFunction.ALWAYS,ref:e,mask:e},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.REPLACE}}),r={function:{func:i.CompareFunction.ALWAYS,ref:n.StencilBits.OutlineVisualElementMask,mask:n.StencilBits.OutlineVisualElementMask},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.ZERO}},u={function:{func:i.CompareFunction.ALWAYS,ref:n.StencilBits.OutlineVisualElementMask,mask:n.StencilBits.OutlineVisualElementMask},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.REPLACE}},E={function:{func:i.CompareFunction.EQUAL,ref:n.StencilBits.OutlineVisualElementMask,mask:n.StencilBits.OutlineVisualElementMask},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.KEEP}},p={function:{func:i.CompareFunction.NOTEQUAL,ref:n.StencilBits.OutlineVisualElementMask,mask:n.StencilBits.OutlineVisualElementMask},operation:{fail:i.StencilOperation.KEEP,zFail:i.StencilOperation.KEEP,zPass:i.StencilOperation.KEEP}};e.depthCompareAlways=a,e.depthCompareLess=t,e.renderWhenBitIsNotSet=o,e.replaceBitWhenDepthTestPasses=c,e.stencilBaseAllZerosParams=r,e.stencilToolMaskBaseParams=u,e.stencilToolMaskOccluderParams=E,e.stencilToolTransparentOccluderParams=p,e.stencilWriteMaskOff=s,e.stencilWriteMaskOn=l,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
