@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 2.35 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
*/
import{_ as e}from"../../../../chunks/tslib.es6.js";import{TransparencyMode as r}from"../../terrain/TransparencyMode.js";import{NormalType as t}from"../core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{TextureCoordinateType as o}from"../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{PBRMode as i}from"../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{OverlayMode as s}from"../core/shaderLibrary/terrain/Overlay.glsl.js";import{TileBlendInput as a}from"../core/shaderLibrary/terrain/TileBlendInput.js";import{parameter as d}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{DefaultTechniqueConfiguration as n}from"../materials/DefaultTechniqueConfiguration.js";class l extends n{constructor(e){super(),this.spherical=e,this.overlayMode=s.Disabled,this.tileBlendInput=a.LayerOnly,this.transparencyMode=r.Opaque,this.pbrMode=i.Simplified,this.receiveShadows=!1,this.backfaceCullingEnabled=!1,this.textureFadingEnabled=!1,this.renderOccluded=!1,this.screenSpaceReflections=!1,this.cloudReflections=!1,this.screenSizePerspective=!1,this.receiveAmbientOcclusion=!1,this.tileBorders=!1,this.visualizeNormals=!1,this.normalType=t.Compressed,this.textureCoordinateType=o.Default,this.highStepCount=!1,this.useCustomDTRExponentForWater=!1,this.useFillLights=!1,this.hasColorTexture=!0,this.draped=!1}get overlayEnabled(){return this.overlayMode!==s.Disabled}}e([d({count:s.COUNT})],l.prototype,"overlayMode",void 0),e([d({count:a.COUNT})],l.prototype,"tileBlendInput",void 0),e([d({count:r.COUNT})],l.prototype,"transparencyMode",void 0),e([d({count:i.COUNT})],l.prototype,"pbrMode",void 0),e([d()],l.prototype,"receiveShadows",void 0),e([d()],l.prototype,"backfaceCullingEnabled",void 0),e([d()],l.prototype,"textureFadingEnabled",void 0),e([d()],l.prototype,"renderOccluded",void 0),e([d()],l.prototype,"screenSpaceReflections",void 0),e([d()],l.prototype,"cloudReflections",void 0),e([d()],l.prototype,"screenSizePerspective",void 0),e([d()],l.prototype,"receiveAmbientOcclusion",void 0),e([d()],l.prototype,"tileBorders",void 0),e([d()],l.prototype,"visualizeNormals",void 0);export{l as TerrainTechniqueConfiguration};