/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as s}from"../../../../core/accessorSupport/decorators.js";import{ReloadableShader as r}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as o}from"../core/shaderTechnique/ShaderTechnique.js";import{S as i}from"../../../../chunks/GaussianSplatComposition.glsl.js";import{ColorAttachment0 as t,ColorAttachment1 as a}from"../../../webgl/enums.js";import{makePipelineState as n,defaultDepthWrite as p,defaultColorWrite as l}from"../../../webgl/renderState.js";let m=class extends o{constructor(){super(...arguments),this.shader=new r(i,()=>import("./GaussianSplatComposition.glsl.js"))}initializePipeline(e){return n({colorWrite:l,depthTest:null,depthWrite:p,drawBuffers:{buffers:e.hasEmission?[t,a]:[t]}})}};m=e([s("esri.views.3d.webgl-engine.shaders.GaussianSplatCompositionTechnique")],m);export{m as GaussianSplatCompositionTechnique};
