/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["require","exports","../../../../chunks/_rollupPluginBabelHelpers","../../../../chunks/TextureOnly.glsl","../core/shaderTechnique/ReloadableShaderModule","../core/shaderTechnique/ShaderTechnique","./DefaultVertexAttributeLocations","./Program","../../../webgl/enums","../../../webgl/renderState"],(function(e,r,t,a,n,i,l,o,u,s){"use strict";let d=function(e){function r(){return e.apply(this,arguments)||this}t._inheritsLoose(r,e);var a=r.prototype;return a.initializeProgram=function(e){const t=r.shader.get().build();return new o.Program(e.rctx,t,l.Default3D)},a.initializePipeline=function(){return this.configuration.hasAlpha?s.makePipelineState({blending:s.separateBlendingParams(u.BlendFactor.SRC_ALPHA,u.BlendFactor.ONE,u.BlendFactor.ONE_MINUS_SRC_ALPHA,u.BlendFactor.ONE_MINUS_SRC_ALPHA),colorWrite:s.defaultColorWriteParams}):s.makePipelineState({colorWrite:s.defaultColorWriteParams})},r}(i.ShaderTechnique);d.shader=new n.ReloadableShaderModule(a.TextureOnlyShader,(()=>new Promise(((r,t)=>e(["../core/shaderLibrary/util/TextureOnly.glsl"],r,t))))),r.TextureTechnique=d,Object.defineProperties(r,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
