/*
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 t}from"tslib";import{uniform as r,UniformGroup as e}from"../../../../GraphShaderModule.js";import{Vec4 as o,Mat3 as s}from"../../../../graph/glsl.js";import{BaseRasterProcessorShader as a}from"./BaseRasterProcessorShader.js";class d extends e{}t([r(s)],d.prototype,"bandIndexMat3",void 0);class n extends a{constructor(){super(...arguments),this.type="ExtractBandShader"}_process(t){const r=this._getPixel(t),e=this.extractBandConfig.bandIndexMat3.multiply(r.rgb);return new o(e,r.a)}}t([r(d)],n.prototype,"extractBandConfig",void 0);export{n as ExtractBandShader};
