/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
class e{constructor(e){this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.sphereDepthInterpolate=e.sphereDepthInterpolate,this.doubleSided=e.doubleSided,this.cullFace=e.cullFace,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.alphaDiscardMode=e.alphaDiscardMode,this.isIntegratedMesh=e.isIntegratedMesh,this.polygonOffset=e.polygonOffset,this.ellipsoidMode=e.ellipsoidMode,this.applySSAO=e.applySSAO}}class s extends e{constructor(e){super(e),this.hasBaseColorTransparency=e.baseColor[3]<1,this.hasEmissiveBaseColor=0!==e.emissiveBaseColor[0]||0!==e.emissiveBaseColor[1]||0!==e.emissiveBaseColor[2],this.isObjectTransparent=e.opacity<1,this.hasBaseColorTexture=null!=e.baseColorTexture,this.hasMetallicRoughnessTexture=null!=e.metallicRoughnessTexture,this.hasNormalTexture=null!=e.normalTexture,this.hasOcclusionTexture=null!=e.occlusionTexture,this.hasEmissionTexture=null!=e.emissionTexture}}export{e as ComponentMaterialBaseParameters,s as ComponentMaterialParameters};
