@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 922 B
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.19/LICENSE.txt */
import{__decorate as e}from"tslib";import{subclass as r}from"../../../../core/accessorSupport/decorators.js";import{ReloadableShader as s}from"../core/shaderTechnique/ReloadableShader.js";import{ShaderTechnique as i}from"../core/shaderTechnique/ShaderTechnique.js";import{S as o}from"../../../../chunks/ShadowCastClear.glsl.js";import{PrimitiveType as t}from"../../../webgl/enums.js";import{makePipelineState as l}from"../../../webgl/renderState.js";let a=class extends i{constructor(){super(...arguments),this.shader=new s(o,()=>import("./ShadowCastClear.glsl.js")),this.primitiveType=t.TRIANGLE_STRIP}initializePipeline(e){const r={r:0===e.index,g:1===e.index,b:!1,a:!1};return l({blending:null,colorWrite:r,depthTest:null,depthWrite:null})}};a=e([r("esri.views.3d.webgl-engine.shaders.ShadowCastClearTechnique")],a);export{a as ShadowCastClearTechnique};