PageSourceSearch

https://aminedirohf-async-grpo-mini-swe-agent-moe.hf.space/assets/KHR_materials_iridescence-BGNGePcn.js

js aminedirohf-async-grpo-mini-swe-agent-moe.hf.space collected 2026-10-04 16:40:41 UTC 2,675 bytes, 1 lines download raw bytes

1import{G as c}from"./glTFLoader-DuBN53_Z.js";import{u as a,r as p}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 n="KHR_materials_iridescence";class d{constructor(t){this.name=n,this.order=195,this._loader=t,this.enabled=this._loader.isExtensionUsed(n)}dispose(){this._loader=null}loadMaterialPropertiesAsync(t,i,s){return c.LoadExtensionAsync(t,i,this.name,async(r,o)=>{const e=new Array;return e.push(this._loader.loadMaterialPropertiesAsync(t,i,s)),e.push(this._loadIridescencePropertiesAsync(r,o,s)),await Promise.all(e).then(()=>{})})}_loadIridescencePropertiesAsync(t,i,s){const r=this._loader._getOrCreateMaterialAdapter(s),o=new Array;return r.thinFilmWeight=i.iridescenceFactor??0,r.thinFilmIor=i.iridescenceIor??i.iridescenceIOR??1.3,r.thinFilmThicknessMinimum=i.iridescenceThicknessMinimum??100,r.thinFilmThicknessMaximum=i.iridescenceThicknessMaximum??400,i.iridescenceTexture&&o.push(this._loader.loadTextureInfoAsync(`${t}/iridescenceTexture`,i.iridescenceTexture,e=>{e.name=`${s.name} (Iridescence)`,r.thinFilmWeightTexture=e})),i.iridescenceThicknessTexture&&o.push(this._loader.loadTextureInfoAsync(`${t}/iridescenceThicknessTexture`,i.iridescenceThicknessTexture,e=>{e.name=`${s.name} (Iridescence Thickness)`,r.thinFilmThicknessTexture=e})),Promise.all(o).then(()=>{})}}a(n);p(n,!0,m=>new d(m));export{d as KHR_materials_iridescence};

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.