Const AdvancedOptional_resolvedAsset: ResolvedAsset<any>Optionalloader: LoaderDestroys the materials first, as pixi warns when a bound texture source is destroyed, then unloads
the images through the loader, as pixi also warns when a source Assets manages is destroyed directly
The source load returned
Optional_resolvedAsset: ResolvedAsset<any>
Unused
Optionalloader: Loader
The loader that cached the images
Loads a
.gltffile, with its external buffers and images, as a Scene3DSource@pixi/3dregisters it withAssetson import, andAssets.unload(url)frees the source as Scene3DSource#destroy describes. loadGlb loads the binary.glbform.Meshopt-compressed buffers (
EXT_meshopt_compression,KHR_meshopt_compression) and Draco-compressed meshes (KHR_draco_mesh_compression) decode as they load. Draco fetches its decoder from the URLs setDracoDecoderPath sets.Each texture loads the first of its images the app supports, in this order:
KHR_texture_basisu), onceimport 'pixi.js/ktx2'registers pixi's KTX2 loader. That loader fetches its transcoder from jsDelivr unless pixi'ssetKTXTranscoderPathsets other URLs.EXT_texture_avif), in a browser that decodes it.EXT_texture_webp).source.A texture with no image the app supports fails the load, with an error that says why.
Two glTF texture features work with limits:
KHR_texture_transformit finds on its textures to all of them.