/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../core/accessorSupport/decorators.js";import{a as o}from"../../../../chunks/TextureOnly.glsl.js";import{ReloadableShader as i}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as s}from"../core/shaderTechnique/ShaderTechnique.js";import{makePipelineState as t,defaultColorWrite as l,unpremultipliedAlphaToPremultipliedAlpha as a}from"../../../webgl/renderState.js";let n=class extends s{constructor(){super(...arguments),this.shader=new i(o,()=>import("../core/shaderLibrary/util/TextureOnly.glsl.js"))}initializePipeline(e){return e.hasAlpha?t({blending:a,colorWrite:l}):t({colorWrite:l})}};n=e([r("esri.views.3d.webgl-engine.lib.TextureTechnique")],n);export{n as TextureTechnique};
