1import{G as p}from"./glTFLoader-DuBN53_Z.js";import{u as a,r as n}from"./dynamic-B0TG-CUB.js";import"./index-DeFvE6lu.js";import"./math.vector-C1xyPDEl.js";import"./math.scalar.functions-DkeaWAWz.js";import"./math.color-CzLaKyb6.js";import"./tools-D01N7ptR.js";import"./decorators.serialization-C7d7ykGG.js";import"./bufferUtils-DTRdUD8L.js";import"./mesh-oYr96VDh.js";import"./mesh.vertexData-Cr3zcPIw.js";import"./buffer-DqKlo1ts.js";import"./dataBuffer-CgoqiUzT.js";import"./subMesh-UWDo5wjI.js";import"./drawWrapper-CZVk0xN-.js";import"./smartArray-CO6iJ0u5.js";import"./node-C-Iu0ALa.js";import"./math.viewport-CgkTt1RS.js";import"./sceneComponent-Dflhczui.js";import"./math.plane-Ce_75-g5.js";import"./lightConstants-B1TSTh-k.js";import"./sceneLoaderFlags-wywyb9ml.js";import"./math.axis-Ck7JfPPj.js";import"./material-CrEsrP1R.js";import"./texture-BEqhDl5Y.js";import"./baseTexture-CgAggsey.js";import"./drawWrapper.functions-Dzz0ghog.js";import"./cameraInputsManager-DlqW7Xs8.js";import"./deviceInputEvents-BTza-zoR.js";import"./bone-B35odufe.js";import"./skeleton-BVUVDN0a.js";import"./rawTexture-Cp8_XuDs.js";import"./animation-IftAdLIx.js";import"./sceneLoader-CutT-qCn.js";import"./scene-gn_hoGMy.js";import"./renderingManager-CiY2OUrf.js";import"./perfCounter-DusmGz8t.js";import"./assetContainer-OIgMc4u0.js";import"./instancedMesh-QYXOajBy.js";import"./light-DT53MGnW.js";import"./objectModelMapping-DWcnlpHl.js";const o="KHR_materials_emissive_strength";class d{constructor(i){this.name=o,this.order=170,this._loader=i,this.enabled=this._loader.isExtensionUsed(o)}dispose(){this._loader=null}loadMaterialPropertiesAsync(i,t,r){return p.LoadExtensionAsync(i,t,this.name,async(e,s)=>(await this._loader.loadMaterialPropertiesAsync(i,t,r),this._loadEmissiveProperties(e,s,r),await Promise.resolve()))}_loadEmissiveProperties(i,t,r){if(t.emissiveStrength!==void 0){const e=this._loader._getOrCreateMaterialAdapter(r);e.emissionLuminance=t.emissiveStrength}}}a(o);n(o,!0,m=>new d(m));export{d as KHR_materials_emissive_strength};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.