UNPKG

@doegis/core

Version:

DOE GIS API

3 lines (1 loc) 1.17 kB
import has from"../../../../core/has.js";import{NestedMap as e}from"../../../../core/NestedMap.js";import{RenderState as t}from"../../../support/RenderState.js";var a;function i(i=has("enable-feature:high-quality-idle")){const s=new e;return i&&(s.set(t.INTERACTING,a.Antialiasing,!0),s.set(t.IDLE,a.Antialiasing,!0),s.set(t.INTERACTING,a.HighQualityTransparency,!0),s.set(t.IDLE,a.HighQualityTransparency,!0),s.set(t.INTERACTING,a.RealisticAtmosphere,!0),s.set(t.IDLE,a.RealisticAtmosphere,!0),s.set(t.IDLE,a.SSAO,!0),s.set(t.IDLE,a.WaterReflection,!0),s.set(t.IDLE,a.PhysicalPixelRendering,!0)),s.set(t.ANIMATING,a.ShadowMapUpdate,!0),s.set(t.INTERACTING,a.ShadowMapUpdate,!0),s.set(t.IDLE,a.ShadowMapUpdate,!0),s.set(t.IDLE,a.HighQualityVoxel,!0),s}!function(e){e[e.Antialiasing=0]="Antialiasing",e[e.HighQualityTransparency=1]="HighQualityTransparency",e[e.HighQualityVoxel=2]="HighQualityVoxel",e[e.RealisticAtmosphere=3]="RealisticAtmosphere",e[e.SSAO=4]="SSAO",e[e.WaterReflection=5]="WaterReflection",e[e.ShadowMapUpdate=6]="ShadowMapUpdate",e[e.PhysicalPixelRendering=7]="PhysicalPixelRendering"}(a||(a={}));export{a as RenderFeature,i as setupFeatureDefaults};