/* 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{glLayout as o}from"../../../support/buffer/glUtil.js";import{newLayout as t}from"../../../support/buffer/InterleavedLayout.js";import{ReloadableShader as s}from"../../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as i}from"../../core/shaderTechnique/ShaderTechnique.js";import{a as p}from"../../../../../chunks/SimpleAtmosphere.glsl.js";import{makePipelineState as m,defaultColorWrite as l,backFaceCullingParams as n,unpremultipliedAlphaToPremultipliedAlpha as c}from"../../../../webgl/renderState.js";let a=class extends i{constructor(e,r){super(e,r,o(f)),this.shader=new s(p,()=>import("./SimpleAtmosphere.glsl.js"))}initializePipeline(e){const r=1===e.geometry;return m({blending:c,culling:r?n:void 0,depthTest:{func:515},colorWrite:l})}};a=e([r("esri.views.3d.webgl-engine.effects.atmosphere.SimpleAtmosphereTechnique")],a);const f=t().vec3f("position").freeze();export{a as SimpleAtmosphereTechnique,f as layout};
