@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 4.91 kB
JavaScript
import{_ as o}from"../../../../../../chunks/tslib.es6.js";import{ComponentDataType as e}from"./shader/ComponentData.glsl.js";import{VertexDiscardMode as t}from"./shader/VertexDiscardByOpacity.glsl.js";import{ShaderOutput as r}from"../../../core/shaderLibrary/ShaderOutput.js";import{NormalAttributeType as s}from"../../../core/shaderLibrary/attributes/NormalAttribute.glsl.js";import{TextureCoordinateAttributeType as i}from"../../../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import{NormalsDoubleSidedMode as a}from"../../../core/shaderLibrary/shading/Normals.glsl.js";import{PBRMode as p}from"../../../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import{EllipsoidMode as d}from"../../../core/shaderLibrary/util/EllipsoidMode.js";import{BindType as n}from"../../../core/shaderTechnique/BindType.js";import{parameter as l,ShaderTechniqueConfiguration as h}from"../../../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{CullFaceOptions as c,AlphaDiscardMode as u}from"../../../lib/basicInterfaces.js";import{TransparencyPassType as y}from"../../../lib/TransparencyPassType.js";var v;!function(o){o[o.None=0]="None",o[o.NoOverlay=1]="NoOverlay",o[o.ColorOverlay=2]="ColorOverlay",o[o.ColorOverlayWithWater=3]="ColorOverlayWithWater",o[o.COUNT=4]="COUNT"}(v||(v={}));class T extends h{constructor(){super(...arguments),this.output=r.Color,this.textureCoordinateType=i.None,this.componentData=e.Uniform,this.cullFace=c.Back,this.vertexDiscardMode=t.None,this.doubleSidedMode=a.WindingOrder,this.alphaDiscardMode=u.Opaque,this.integratedMeshMode=v.None,this.transparencyPassType=y.NONE,this.ellipsoidMode=d.Earth,this.pbrMode=p.Disabled,this.normalType=s.Attribute,this.spherical=!1,this.doublePrecisionRequiresObfuscation=!1,this.hasVertexColors=!1,this.hasNormals=!1,this.hasSlicePlane=!1,this.hasBaseColorTexture=!1,this.receiveAmbientOcclusion=!0,this.receiveShadows=!0,this.blendingEnabled=!0,this.hasScreenSpaceReflections=!1,this.hasPolygonOffset=!1,this.hasMetallicRoughnessTexture=!1,this.hasEmissionTexture=!1,this.hasOcclusionTexture=!1,this.hasNormalTexture=!1,this.hasOccludees=!1,this.hasMultipassTerrain=!1,this.cullAboveGround=!1,this.useLegacyTerrainShading=!1,this.hasCloudsReflections=!0,this.snowCover=!1,this.objectAndLayerIdColor=!1,this.hasWebGL2Context=!1}}o([l({count:r.COUNT})],T.prototype,"output",void 0),o([l({count:i.COUNT})],T.prototype,"textureCoordinateType",void 0),o([l({count:e.COUNT})],T.prototype,"componentData",void 0),o([l({count:c.COUNT})],T.prototype,"cullFace",void 0),o([l({count:t.COUNT})],T.prototype,"vertexDiscardMode",void 0),o([l({count:a.COUNT})],T.prototype,"doubleSidedMode",void 0),o([l({count:u.COUNT})],T.prototype,"alphaDiscardMode",void 0),o([l({count:v.COUNT})],T.prototype,"integratedMeshMode",void 0),o([l({count:y.COUNT})],T.prototype,"transparencyPassType",void 0),o([l({count:d.COUNT})],T.prototype,"ellipsoidMode",void 0),o([l({count:p.COUNT})],T.prototype,"pbrMode",void 0),o([l({count:s.COUNT})],T.prototype,"normalType",void 0),o([l()],T.prototype,"spherical",void 0),o([l()],T.prototype,"doublePrecisionRequiresObfuscation",void 0),o([l()],T.prototype,"hasVertexColors",void 0),o([l()],T.prototype,"hasNormals",void 0),o([l()],T.prototype,"hasSlicePlane",void 0),o([l()],T.prototype,"hasBaseColorTexture",void 0),o([l()],T.prototype,"receiveAmbientOcclusion",void 0),o([l()],T.prototype,"receiveShadows",void 0),o([l()],T.prototype,"blendingEnabled",void 0),o([l()],T.prototype,"hasScreenSpaceReflections",void 0),o([l()],T.prototype,"hasPolygonOffset",void 0),o([l()],T.prototype,"hasMetallicRoughnessTexture",void 0),o([l()],T.prototype,"hasEmissionTexture",void 0),o([l()],T.prototype,"hasOcclusionTexture",void 0),o([l()],T.prototype,"hasNormalTexture",void 0),o([l()],T.prototype,"hasOccludees",void 0),o([l()],T.prototype,"hasMultipassTerrain",void 0),o([l()],T.prototype,"cullAboveGround",void 0),o([l()],T.prototype,"useLegacyTerrainShading",void 0),o([l()],T.prototype,"hasCloudsReflections",void 0),o([l()],T.prototype,"snowCover",void 0),o([l()],T.prototype,"objectAndLayerIdColor",void 0),o([l()],T.prototype,"hasWebGL2Context",void 0),o([l({constValue:n.Draw})],T.prototype,"pbrTextureBindType",void 0),o([l({constValue:!0})],T.prototype,"hasSliceHighlight",void 0),o([l({constValue:!1})],T.prototype,"hasSliceInVertexProgram",void 0),o([l({constValue:!1})],T.prototype,"useCustomDTRExponentForWater",void 0),o([l({constValue:!1})],T.prototype,"hasVertexTangents",void 0),o([l({constValue:!0})],T.prototype,"supportsTextureAtlas",void 0),o([l({constValue:!1})],T.prototype,"highStepCount",void 0),o([l({constValue:!1})],T.prototype,"instancedDoublePrecision",void 0),o([l({constValue:!0})],T.prototype,"useFillLights",void 0),o([l({constValue:!1})],T.prototype,"objectAndLayerIdColorInstanced",void 0);export{T as ComponentTechniqueConfiguration,v as IntegratedMeshMode};