UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) 945 B
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.19/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 i}from"../core/shaderTechnique/ShaderTechnique.js";import{a as o}from"../../../../chunks/GaussianSplat.glsl.js";import{ColorAttachment0 as t,ColorAttachment1 as a}from"../../../webgl/enums.js";import{makePipelineState as n,defaultColorWrite as l,separateBlendingParams as p}from"../../../webgl/renderState.js";let c=class extends i{constructor(){super(...arguments),this.shader=new s(o,()=>import("./GaussianSplat.glsl.js"))}initializePipeline(){return n({blending:p(773,773,1,1,32774,32774),depthTest:{func:515},colorWrite:l,drawBuffers:{buffers:[t,a]}})}};c=e([r("esri.views.3d.webgl-engine.shaders.GaussianSplatTechnique")],c);export{c as GaussianSplatTechnique};