@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 1.58 kB
JavaScript
import{_ as e}from"../../../../chunks/tslib.es6.js";import{NoParameters as r}from"../core/shaderModules/interfaces.js";import{ReloadableShaderModule as t}from"../core/shaderTechnique/ReloadableShaderModule.js";import{ShaderTechnique as s}from"../core/shaderTechnique/ShaderTechnique.js";import{parameter as i}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{Default3D as o}from"../lib/DefaultVertexAttributeLocations.js";import{blendingDefault as n}from"../lib/OrderIndependentTransparency.js";import{Program as a}from"../lib/Program.js";import{DefaultTechniqueConfiguration as l}from"../materials/DefaultTechniqueConfiguration.js";import{H as m}from"../../../../chunks/Heatmap.glsl.js";import{PrimitiveType as u}from"../../../webgl/enums.js";import{makePipelineState as p,defaultColorWriteParams as c}from"../../../webgl/renderState.js";class h extends r{constructor(){super(...arguments),this.colorRamp=null,this.densityMap=null,this.searchRadius=1,this.fieldTotal=0,this.minDensity=0,this.maxDensity=100}}class d extends s{constructor(e,r){super(e,r,(()=>this.destroy()))}initializeProgram(e){return new a(e.rctx,d.shader.get().build(this.configuration),o)}initializePipeline(){return p({blending:n,colorWrite:c,depthTest:null,depthWrite:null})}get primitiveType(){return u.TRIANGLE_STRIP}}d.shader=new t(m,(()=>import("./Heatmap.glsl.js")));class f extends l{constructor(){super(...arguments),this.usesHalfFloat=!1}}e([i()],f.prototype,"usesHalfFloat",void 0);export{h as HeatmapPassParameters,d as HeatmapTechnique,f as HeatmapTechniqueConfiguration};