/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
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 t}from"../core/shaderTechnique/ShaderTechnique.js";import{H as i}from"../../../../chunks/Heatmap.glsl.js";import{PrimitiveType as o}from"../../../webgl/enums.js";import{NoParameters as a}from"../../../webgl/NoParameters.js";import{makePipelineState as l,defaultColorWrite as n,unpremultipliedAlphaToPremultipliedAlpha as m}from"../../../webgl/renderState.js";class p extends a{constructor(){super(...arguments),this.colorRamp=null,this.densityMap=null,this.searchRadius=1,this.fieldTotal=0,this.minDensity=0,this.maxDensity=100}}let h=class extends t{constructor(){super(...arguments),this.shader=new s(i,()=>import("./Heatmap.glsl.js")),this.primitiveType=o.TRIANGLE_STRIP}initializePipeline(){return l({blending:m,colorWrite:n,depthTest:null,depthWrite:null})}};h=e([r("esri.views.3d.webgl-engine.shaders.HeatmapTechnique")],h);export{p as HeatmapPassParameters,h as HeatmapTechnique};
