@aura3d/assets 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/AdvancedAssetCorpus.d.ts +124 -0
- package/dist/AdvancedAssetCorpus.d.ts.map +1 -0
- package/dist/AdvancedAssetCorpus.js +266 -0
- package/dist/AdvancedAssetCorpus.js.map +1 -0
- package/dist/AssetBundleCacheFixtures.d.ts +62 -0
- package/dist/AssetBundleCacheFixtures.d.ts.map +1 -0
- package/dist/AssetBundleCacheFixtures.js +222 -0
- package/dist/AssetBundleCacheFixtures.js.map +1 -0
- package/dist/AssetCache.d.ts +21 -0
- package/dist/AssetCache.d.ts.map +1 -0
- package/dist/AssetCache.js +54 -0
- package/dist/AssetCache.js.map +1 -0
- package/dist/AssetCompatibility.d.ts +54 -0
- package/dist/AssetCompatibility.d.ts.map +1 -0
- package/dist/AssetCompatibility.js +122 -0
- package/dist/AssetCompatibility.js.map +1 -0
- package/dist/AssetCorpus.d.ts +88 -0
- package/dist/AssetCorpus.d.ts.map +1 -0
- package/dist/AssetCorpus.js +215 -0
- package/dist/AssetCorpus.js.map +1 -0
- package/dist/AssetDependencyGraph.d.ts +12 -0
- package/dist/AssetDependencyGraph.d.ts.map +1 -0
- package/dist/AssetDependencyGraph.js +66 -0
- package/dist/AssetDependencyGraph.js.map +1 -0
- package/dist/AssetHandle.d.ts +26 -0
- package/dist/AssetHandle.d.ts.map +1 -0
- package/dist/AssetHandle.js +53 -0
- package/dist/AssetHandle.js.map +1 -0
- package/dist/AssetImportPreflight.d.ts +43 -0
- package/dist/AssetImportPreflight.d.ts.map +1 -0
- package/dist/AssetImportPreflight.js +117 -0
- package/dist/AssetImportPreflight.js.map +1 -0
- package/dist/AssetInspection.d.ts +183 -0
- package/dist/AssetInspection.d.ts.map +1 -0
- package/dist/AssetInspection.js +397 -0
- package/dist/AssetInspection.js.map +1 -0
- package/dist/AssetLoader.d.ts +26 -0
- package/dist/AssetLoader.d.ts.map +1 -0
- package/dist/AssetLoader.js +12 -0
- package/dist/AssetLoader.js.map +1 -0
- package/dist/AssetManager.d.ts +37 -0
- package/dist/AssetManager.d.ts.map +1 -0
- package/dist/AssetManager.js +161 -0
- package/dist/AssetManager.js.map +1 -0
- package/dist/AssetRegistry.d.ts +10 -0
- package/dist/AssetRegistry.d.ts.map +1 -0
- package/dist/AssetRegistry.js +34 -0
- package/dist/AssetRegistry.js.map +1 -0
- package/dist/AssetRenderDefaults.d.ts +13 -0
- package/dist/AssetRenderDefaults.d.ts.map +1 -0
- package/dist/AssetRenderDefaults.js +23 -0
- package/dist/AssetRenderDefaults.js.map +1 -0
- package/dist/AudioLoader.d.ts +17 -0
- package/dist/AudioLoader.d.ts.map +1 -0
- package/dist/AudioLoader.js +23 -0
- package/dist/AudioLoader.js.map +1 -0
- package/dist/BlenderExportValidation.d.ts +64 -0
- package/dist/BlenderExportValidation.d.ts.map +1 -0
- package/dist/BlenderExportValidation.js +143 -0
- package/dist/BlenderExportValidation.js.map +1 -0
- package/dist/CarConceptMaterialStability.d.ts +28 -0
- package/dist/CarConceptMaterialStability.d.ts.map +1 -0
- package/dist/CarConceptMaterialStability.js +1308 -0
- package/dist/CarConceptMaterialStability.js.map +1 -0
- package/dist/EXRLoader.d.ts +2 -0
- package/dist/EXRLoader.d.ts.map +1 -0
- package/dist/EXRLoader.js +2 -0
- package/dist/EXRLoader.js.map +1 -0
- package/dist/ExternalParityGLTFCorpus.d.ts +39 -0
- package/dist/ExternalParityGLTFCorpus.d.ts.map +1 -0
- package/dist/ExternalParityGLTFCorpus.js +32 -0
- package/dist/ExternalParityGLTFCorpus.js.map +1 -0
- package/dist/GLTFAnimationRuntime.d.ts +243 -0
- package/dist/GLTFAnimationRuntime.d.ts.map +1 -0
- package/dist/GLTFAnimationRuntime.js +954 -0
- package/dist/GLTFAnimationRuntime.js.map +1 -0
- package/dist/GLTFCompressionDecoders.d.ts +42 -0
- package/dist/GLTFCompressionDecoders.d.ts.map +1 -0
- package/dist/GLTFCompressionDecoders.js +99 -0
- package/dist/GLTFCompressionDecoders.js.map +1 -0
- package/dist/GLTFExtensionSupport.d.ts +33 -0
- package/dist/GLTFExtensionSupport.d.ts.map +1 -0
- package/dist/GLTFExtensionSupport.js +85 -0
- package/dist/GLTFExtensionSupport.js.map +1 -0
- package/dist/GLTFLoader.d.ts +361 -0
- package/dist/GLTFLoader.d.ts.map +1 -0
- package/dist/GLTFLoader.js +2735 -0
- package/dist/GLTFLoader.js.map +1 -0
- package/dist/GLTFRenderResources.d.ts +162 -0
- package/dist/GLTFRenderResources.d.ts.map +1 -0
- package/dist/GLTFRenderResources.js +1684 -0
- package/dist/GLTFRenderResources.js.map +1 -0
- package/dist/HDRLoader.d.ts +2 -0
- package/dist/HDRLoader.d.ts.map +1 -0
- package/dist/HDRLoader.js +2 -0
- package/dist/HDRLoader.js.map +1 -0
- package/dist/ImageLoader.d.ts +15 -0
- package/dist/ImageLoader.d.ts.map +1 -0
- package/dist/ImageLoader.js +36 -0
- package/dist/ImageLoader.js.map +1 -0
- package/dist/ImportPipeline.d.ts +39 -0
- package/dist/ImportPipeline.d.ts.map +1 -0
- package/dist/ImportPipeline.js +105 -0
- package/dist/ImportPipeline.js.map +1 -0
- package/dist/KTX2BasisTextureTranscoder.d.ts +9 -0
- package/dist/KTX2BasisTextureTranscoder.d.ts.map +1 -0
- package/dist/KTX2BasisTextureTranscoder.js +178 -0
- package/dist/KTX2BasisTextureTranscoder.js.map +1 -0
- package/dist/LoadContext.d.ts +20 -0
- package/dist/LoadContext.d.ts.map +1 -0
- package/dist/LoadContext.js +42 -0
- package/dist/LoadContext.js.map +1 -0
- package/dist/MaterialLoader.d.ts +17 -0
- package/dist/MaterialLoader.d.ts.map +1 -0
- package/dist/MaterialLoader.js +138 -0
- package/dist/MaterialLoader.js.map +1 -0
- package/dist/MeshOptimization.d.ts +20 -0
- package/dist/MeshOptimization.d.ts.map +1 -0
- package/dist/MeshOptimization.js +65 -0
- package/dist/MeshOptimization.js.map +1 -0
- package/dist/OBJLoader.d.ts +13 -0
- package/dist/OBJLoader.d.ts.map +1 -0
- package/dist/OBJLoader.js +492 -0
- package/dist/OBJLoader.js.map +1 -0
- package/dist/SceneAnalysisFixtures.d.ts +100 -0
- package/dist/SceneAnalysisFixtures.d.ts.map +1 -0
- package/dist/SceneAnalysisFixtures.js +331 -0
- package/dist/SceneAnalysisFixtures.js.map +1 -0
- package/dist/SceneLoader.d.ts +27 -0
- package/dist/SceneLoader.d.ts.map +1 -0
- package/dist/SceneLoader.js +40 -0
- package/dist/SceneLoader.js.map +1 -0
- package/dist/ShaderLoader.d.ts +12 -0
- package/dist/ShaderLoader.d.ts.map +1 -0
- package/dist/ShaderLoader.js +18 -0
- package/dist/ShaderLoader.js.map +1 -0
- package/dist/TextureLoader.d.ts +16 -0
- package/dist/TextureLoader.d.ts.map +1 -0
- package/dist/TextureLoader.js +17 -0
- package/dist/TextureLoader.js.map +1 -0
- package/dist/TexturePipeline.d.ts +24 -0
- package/dist/TexturePipeline.d.ts.map +1 -0
- package/dist/TexturePipeline.js +64 -0
- package/dist/TexturePipeline.js.map +1 -0
- package/dist/TextureStreaming.d.ts +10 -0
- package/dist/TextureStreaming.d.ts.map +1 -0
- package/dist/TextureStreaming.js +11 -0
- package/dist/TextureStreaming.js.map +1 -0
- package/dist/WorkerAssetJobs.d.ts +18 -0
- package/dist/WorkerAssetJobs.d.ts.map +1 -0
- package/dist/WorkerAssetJobs.js +37 -0
- package/dist/WorkerAssetJobs.js.map +1 -0
- package/dist/advanced-gallery/index.d.ts +3 -0
- package/dist/advanced-gallery/index.d.ts.map +1 -0
- package/dist/advanced-gallery/index.js +2 -0
- package/dist/advanced-gallery/index.js.map +1 -0
- package/dist/asset-corpus/GLTFSceneLoader.d.ts +3 -0
- package/dist/asset-corpus/GLTFSceneLoader.d.ts.map +1 -0
- package/dist/asset-corpus/GLTFSceneLoader.js +2 -0
- package/dist/asset-corpus/GLTFSceneLoader.js.map +1 -0
- package/dist/asset-corpus/ProductionAssetCorpus.d.ts +89 -0
- package/dist/asset-corpus/ProductionAssetCorpus.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionAssetCorpus.js +116 -0
- package/dist/asset-corpus/ProductionAssetCorpus.js.map +1 -0
- package/dist/asset-corpus/ProductionAssetPipeline.d.ts +3 -0
- package/dist/asset-corpus/ProductionAssetPipeline.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionAssetPipeline.js +3 -0
- package/dist/asset-corpus/ProductionAssetPipeline.js.map +1 -0
- package/dist/asset-corpus/ProductionGLTFRenderPipeline.d.ts +65 -0
- package/dist/asset-corpus/ProductionGLTFRenderPipeline.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionGLTFRenderPipeline.js +110 -0
- package/dist/asset-corpus/ProductionGLTFRenderPipeline.js.map +1 -0
- package/dist/asset-corpus/ProductionHDRTextureLoader.d.ts +8 -0
- package/dist/asset-corpus/ProductionHDRTextureLoader.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionHDRTextureLoader.js +2 -0
- package/dist/asset-corpus/ProductionHDRTextureLoader.js.map +1 -0
- package/dist/asset-corpus/ProductionKTX2TextureLoader.d.ts +7 -0
- package/dist/asset-corpus/ProductionKTX2TextureLoader.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionKTX2TextureLoader.js +2 -0
- package/dist/asset-corpus/ProductionKTX2TextureLoader.js.map +1 -0
- package/dist/asset-corpus/ProductionTextureLoader.d.ts +7 -0
- package/dist/asset-corpus/ProductionTextureLoader.d.ts.map +1 -0
- package/dist/asset-corpus/ProductionTextureLoader.js +2 -0
- package/dist/asset-corpus/ProductionTextureLoader.js.map +1 -0
- package/dist/asset-corpus/index.d.ts +10 -0
- package/dist/asset-corpus/index.d.ts.map +1 -0
- package/dist/asset-corpus/index.js +8 -0
- package/dist/asset-corpus/index.js.map +1 -0
- package/dist/browser-index.d.ts +48 -0
- package/dist/browser-index.d.ts.map +1 -0
- package/dist/browser-index.js +26 -0
- package/dist/browser-index.js.map +1 -0
- package/dist/createRenderableScene.d.ts +23 -0
- package/dist/createRenderableScene.d.ts.map +1 -0
- package/dist/createRenderableScene.js +94 -0
- package/dist/createRenderableScene.js.map +1 -0
- package/dist/index.d.ts +82 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -0
- package/dist/loadRenderableAsset.d.ts +16 -0
- package/dist/loadRenderableAsset.d.ts.map +1 -0
- package/dist/loadRenderableAsset.js +50 -0
- package/dist/loadRenderableAsset.js.map +1 -0
- package/dist/loaders/CubeTextureLoader.d.ts +4 -0
- package/dist/loaders/CubeTextureLoader.d.ts.map +1 -0
- package/dist/loaders/CubeTextureLoader.js +9 -0
- package/dist/loaders/CubeTextureLoader.js.map +1 -0
- package/dist/loaders/EXRLoader.d.ts +4 -0
- package/dist/loaders/EXRLoader.d.ts.map +1 -0
- package/dist/loaders/EXRLoader.js +10 -0
- package/dist/loaders/EXRLoader.js.map +1 -0
- package/dist/loaders/HDRLoader.d.ts +4 -0
- package/dist/loaders/HDRLoader.d.ts.map +1 -0
- package/dist/loaders/HDRLoader.js +7 -0
- package/dist/loaders/HDRLoader.js.map +1 -0
- package/dist/loaders/KTX2Loader.d.ts +4 -0
- package/dist/loaders/KTX2Loader.d.ts.map +1 -0
- package/dist/loaders/KTX2Loader.js +7 -0
- package/dist/loaders/KTX2Loader.js.map +1 -0
- package/dist/loaders/LoaderDiagnostics.d.ts +18 -0
- package/dist/loaders/LoaderDiagnostics.d.ts.map +1 -0
- package/dist/loaders/LoaderDiagnostics.js +18 -0
- package/dist/loaders/LoaderDiagnostics.js.map +1 -0
- package/dist/loaders/MTLLoader.d.ts +10 -0
- package/dist/loaders/MTLLoader.d.ts.map +1 -0
- package/dist/loaders/MTLLoader.js +14 -0
- package/dist/loaders/MTLLoader.js.map +1 -0
- package/dist/loaders/OBJLoader.d.ts +12 -0
- package/dist/loaders/OBJLoader.d.ts.map +1 -0
- package/dist/loaders/OBJLoader.js +16 -0
- package/dist/loaders/OBJLoader.js.map +1 -0
- package/dist/loaders/TextureLoader.d.ts +6 -0
- package/dist/loaders/TextureLoader.d.ts.map +1 -0
- package/dist/loaders/TextureLoader.js +11 -0
- package/dist/loaders/TextureLoader.js.map +1 -0
- package/dist/loaders/ThreeCompatGLTFLoader.d.ts +10 -0
- package/dist/loaders/ThreeCompatGLTFLoader.d.ts.map +1 -0
- package/dist/loaders/ThreeCompatGLTFLoader.js +13 -0
- package/dist/loaders/ThreeCompatGLTFLoader.js.map +1 -0
- package/dist/loaders/index.d.ts +15 -0
- package/dist/loaders/index.d.ts.map +1 -0
- package/dist/loaders/index.js +10 -0
- package/dist/loaders/index.js.map +1 -0
- package/dist/threejs-compatibility/ThreeCompatAssetProvenance.d.ts +34 -0
- package/dist/threejs-compatibility/ThreeCompatAssetProvenance.d.ts.map +1 -0
- package/dist/threejs-compatibility/ThreeCompatAssetProvenance.js +16 -0
- package/dist/threejs-compatibility/ThreeCompatAssetProvenance.js.map +1 -0
- package/dist/threejs-compatibility/ThreeCompatAssetRegistry.d.ts +29 -0
- package/dist/threejs-compatibility/ThreeCompatAssetRegistry.d.ts.map +1 -0
- package/dist/threejs-compatibility/ThreeCompatAssetRegistry.js +33 -0
- package/dist/threejs-compatibility/ThreeCompatAssetRegistry.js.map +1 -0
- package/dist/threejs-example-parity/index.d.ts +20 -0
- package/dist/threejs-example-parity/index.d.ts.map +1 -0
- package/dist/threejs-example-parity/index.js +218 -0
- package/dist/threejs-example-parity/index.js.map +1 -0
- package/package.json +23 -0
- package/src/AdvancedAssetCorpus.ts +454 -0
- package/src/AssetBundleCacheFixtures.ts +290 -0
- package/src/AssetCache.ts +76 -0
- package/src/AssetCompatibility.ts +224 -0
- package/src/AssetCorpus.ts +329 -0
- package/src/AssetDependencyGraph.ts +83 -0
- package/src/AssetHandle.ts +74 -0
- package/src/AssetImportPreflight.ts +179 -0
- package/src/AssetInspection.ts +706 -0
- package/src/AssetLoader.ts +36 -0
- package/src/AssetManager.ts +211 -0
- package/src/AssetRegistry.ts +44 -0
- package/src/AssetRenderDefaults.ts +36 -0
- package/src/AudioLoader.ts +41 -0
- package/src/BlenderExportValidation.ts +227 -0
- package/src/CarConceptMaterialStability.ts +1405 -0
- package/src/EXRLoader.ts +1 -0
- package/src/ExternalParityGLTFCorpus.ts +65 -0
- package/src/GLTFAnimationRuntime.ts +1221 -0
- package/src/GLTFCompressionDecoders.ts +190 -0
- package/src/GLTFExtensionSupport.ts +138 -0
- package/src/GLTFLoader.ts +4001 -0
- package/src/GLTFRenderResources.ts +2105 -0
- package/src/HDRLoader.ts +1 -0
- package/src/ImageLoader.ts +52 -0
- package/src/ImportPipeline.ts +148 -0
- package/src/KTX2BasisTextureTranscoder.ts +224 -0
- package/src/LoadContext.ts +60 -0
- package/src/MaterialLoader.ts +166 -0
- package/src/MeshOptimization.ts +93 -0
- package/src/OBJLoader.ts +551 -0
- package/src/SceneAnalysisFixtures.ts +438 -0
- package/src/SceneLoader.ts +62 -0
- package/src/ShaderLoader.ts +30 -0
- package/src/TextureLoader.ts +30 -0
- package/src/TexturePipeline.ts +96 -0
- package/src/TextureStreaming.ts +20 -0
- package/src/WorkerAssetJobs.ts +56 -0
- package/src/advanced-gallery/index.ts +18 -0
- package/src/asset-corpus/GLTFSceneLoader.ts +9 -0
- package/src/asset-corpus/ProductionAssetCorpus.ts +230 -0
- package/src/asset-corpus/ProductionAssetPipeline.ts +5 -0
- package/src/asset-corpus/ProductionGLTFRenderPipeline.ts +182 -0
- package/src/asset-corpus/ProductionHDRTextureLoader.ts +2 -0
- package/src/asset-corpus/ProductionKTX2TextureLoader.ts +2 -0
- package/src/asset-corpus/ProductionTextureLoader.ts +2 -0
- package/src/asset-corpus/index.ts +29 -0
- package/src/browser-index.ts +224 -0
- package/src/createRenderableScene.ts +128 -0
- package/src/index.ts +317 -0
- package/src/loadRenderableAsset.ts +67 -0
- package/src/loaders/CubeTextureLoader.ts +8 -0
- package/src/loaders/EXRLoader.ts +10 -0
- package/src/loaders/HDRLoader.ts +7 -0
- package/src/loaders/KTX2Loader.ts +7 -0
- package/src/loaders/LoaderDiagnostics.ts +36 -0
- package/src/loaders/MTLLoader.ts +20 -0
- package/src/loaders/OBJLoader.ts +24 -0
- package/src/loaders/TextureLoader.ts +14 -0
- package/src/loaders/ThreeCompatGLTFLoader.ts +19 -0
- package/src/loaders/index.ts +14 -0
- package/src/threejs-compatibility/ThreeCompatAssetProvenance.ts +51 -0
- package/src/threejs-compatibility/ThreeCompatAssetRegistry.ts +61 -0
- package/src/threejs-example-parity/index.ts +262 -0
- package/tests/assets.test.ts +311 -0
- package/tsconfig.json +7 -0
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
export { AssetCache } from "./AssetCache";
|
|
2
|
+
export type { AssetCacheSnapshot } from "./AssetCache";
|
|
3
|
+
export { AssetDependencyGraph } from "./AssetDependencyGraph";
|
|
4
|
+
export { AssetHandle } from "./AssetHandle";
|
|
5
|
+
export type { AssetHandleOptions, AssetHandleStatus } from "./AssetHandle";
|
|
6
|
+
export { AssetLoadError } from "./AssetLoader";
|
|
7
|
+
export type { AssetLoader, AssetLoadProgress, AssetLoadRequest } from "./AssetLoader";
|
|
8
|
+
export { AssetManager } from "./AssetManager";
|
|
9
|
+
export type { AssetLoadOptions, AssetManagerOptions } from "./AssetManager";
|
|
10
|
+
export { AssetRegistry } from "./AssetRegistry";
|
|
11
|
+
export { ImageLoader } from "./ImageLoader";
|
|
12
|
+
export type { ImageAsset } from "./ImageLoader";
|
|
13
|
+
export { createAssetBundleCacheEvidence } from "./AssetBundleCacheFixtures";
|
|
14
|
+
export type {
|
|
15
|
+
AssetBundleCacheEvidence,
|
|
16
|
+
AssetBundleCacheInput,
|
|
17
|
+
AssetBundleManifestEvidenceEntry
|
|
18
|
+
} from "./AssetBundleCacheFixtures";
|
|
19
|
+
export { createGLTFSceneAnalysisEvidence } from "./SceneAnalysisFixtures";
|
|
20
|
+
export type {
|
|
21
|
+
GLTFObjectDetectionEvidence,
|
|
22
|
+
GLTFObjectTrackEvidence,
|
|
23
|
+
GLTFPoseEvidence,
|
|
24
|
+
GLTFPoseKeypointEvidence,
|
|
25
|
+
GLTFSceneAnalysisEvidence,
|
|
26
|
+
GLTFSceneAnalysisOptions
|
|
27
|
+
} from "./SceneAnalysisFixtures";
|
|
28
|
+
export { GLTFLoader } from "./GLTFLoader";
|
|
29
|
+
export type {
|
|
30
|
+
GLTFAsset,
|
|
31
|
+
GLTFCameraAsset,
|
|
32
|
+
GLTFClearcoatMaterialExtension,
|
|
33
|
+
GLTFDracoDecodeDescriptor,
|
|
34
|
+
GLTFDracoDecodedPrimitive,
|
|
35
|
+
GLTFDracoDecoder,
|
|
36
|
+
GLTFGeometryAsset,
|
|
37
|
+
GLTFImageAsset,
|
|
38
|
+
GLTFLightAsset,
|
|
39
|
+
GLTFAccessorLoadProfileEntry,
|
|
40
|
+
GLTFLoaderDiagnostics,
|
|
41
|
+
GLTFLoaderLoadProfileDiagnostics,
|
|
42
|
+
GLTFLoaderOptions,
|
|
43
|
+
GLTFMaterialAsset,
|
|
44
|
+
GLTFMaterialVariantAsset,
|
|
45
|
+
GLTFMaterialVariantMappingAsset,
|
|
46
|
+
GLTFMeshAsset,
|
|
47
|
+
GLTFMeshoptDecodeDescriptor,
|
|
48
|
+
GLTFMeshoptDecoder,
|
|
49
|
+
GLTFPBRSpecularGlossinessMaterialExtension,
|
|
50
|
+
GLTFResolvedTextureInfo,
|
|
51
|
+
GLTFSamplerAsset,
|
|
52
|
+
GLTFSceneAsset,
|
|
53
|
+
GLTFSceneCreateOptions,
|
|
54
|
+
GLTFSheenMaterialExtension,
|
|
55
|
+
GLTFSkinAsset,
|
|
56
|
+
GLTFSpecularMaterialExtension,
|
|
57
|
+
GLTFTextureAsset,
|
|
58
|
+
GLTFTransmissionMaterialExtension,
|
|
59
|
+
GLTFVolumeMaterialExtension,
|
|
60
|
+
SerializedGLTFAsset
|
|
61
|
+
} from "./GLTFLoader";
|
|
62
|
+
export { inspectGLTFAsset } from "./AssetInspection";
|
|
63
|
+
export type {
|
|
64
|
+
GLTFAssetInspectionReport,
|
|
65
|
+
GLTFAnimationInspection,
|
|
66
|
+
GLTFDependencyInspection,
|
|
67
|
+
GLTFMaterialInspection,
|
|
68
|
+
GLTFMeshInspection,
|
|
69
|
+
GLTFMorphTargetInspection,
|
|
70
|
+
GLTFSceneHierarchyNodeInspection,
|
|
71
|
+
GLTFSkinInspection,
|
|
72
|
+
GLTFTextureInspection
|
|
73
|
+
} from "./AssetInspection";
|
|
74
|
+
export { OBJLoader } from "./OBJLoader";
|
|
75
|
+
export {
|
|
76
|
+
GLTF_DECODER_REQUIRED_EXTENSION_NAMES,
|
|
77
|
+
GLTF_DIAGNOSTIC_ONLY_EXTENSION_NAMES,
|
|
78
|
+
GLTF_EXTENSION_SUPPORT_MATRIX,
|
|
79
|
+
GLTF_PARSED_WITH_LIMITS_EXTENSION_NAMES,
|
|
80
|
+
GLTF_REQUIRED_ACCEPTED_EXTENSION_NAMES,
|
|
81
|
+
GLTF_RUNTIME_SUPPORTED_EXTENSION_NAMES,
|
|
82
|
+
GLTF_SUPPORTED_EXTENSION_NAMES,
|
|
83
|
+
evaluateGLTFExtensionSupport,
|
|
84
|
+
getGLTFExtensionSupport
|
|
85
|
+
} from "./GLTFExtensionSupport";
|
|
86
|
+
export type {
|
|
87
|
+
GLTFExtensionSupportEntry,
|
|
88
|
+
GLTFExtensionSupportEvaluation,
|
|
89
|
+
GLTFExtensionSupportFamily,
|
|
90
|
+
GLTFExtensionSupportStatus
|
|
91
|
+
} from "./GLTFExtensionSupport";
|
|
92
|
+
export { createGLTFSceneAnimationMixer, createGLTFSceneAnimationRuntime, GLTFImportedSkeletonIKController, GLTFSceneAnimationCloneSampler, GLTFSceneAnimationMixerBinding, GLTFSceneAnimationRuntime, GLTFSceneMorphTargetController } from "./GLTFAnimationRuntime";
|
|
93
|
+
export type {
|
|
94
|
+
GLTFImportedSkeletonIKControllerOptions,
|
|
95
|
+
GLTFImportedSkeletonIKControllerSnapshot,
|
|
96
|
+
GLTFImportedSkeletonIKOptions,
|
|
97
|
+
GLTFImportedSkeletonIKResult,
|
|
98
|
+
GLTFSceneAnimationApplyResult,
|
|
99
|
+
GLTFSceneAnimationActionSnapshot,
|
|
100
|
+
GLTFSceneAnimationCloneSample,
|
|
101
|
+
GLTFSceneAnimationCloneSampleResult,
|
|
102
|
+
GLTFSceneAnimationCloneSamplerSnapshot,
|
|
103
|
+
GLTFSceneAnimationClipBindingDiagnostics,
|
|
104
|
+
GLTFSceneAnimationMixerOptions,
|
|
105
|
+
GLTFSceneAnimationPlayOptions,
|
|
106
|
+
GLTFSceneAnimationMixerSnapshot,
|
|
107
|
+
GLTFSceneAnimationMixerUpdateResult,
|
|
108
|
+
GLTFSceneAnimationRuntimeOptions,
|
|
109
|
+
GLTFSceneAnimationRuntimeSnapshot,
|
|
110
|
+
GLTFSceneMorphTargetControllerOptions,
|
|
111
|
+
GLTFSceneMorphTargetControllerSnapshot
|
|
112
|
+
} from "./GLTFAnimationRuntime";
|
|
113
|
+
export {
|
|
114
|
+
DEFAULT_GLTF_RENDER_ENVIRONMENT_LIGHTING,
|
|
115
|
+
DEFAULT_GLTF_HDR_STUDIO_PREVIEW_POSTPROCESS,
|
|
116
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_FRAME,
|
|
117
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_ENVIRONMENT_LIGHTING,
|
|
118
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_POSTPROCESS,
|
|
119
|
+
createDefaultGLTFHdrStudioPreviewEnvironmentLighting,
|
|
120
|
+
createGLTFRenderResourceDiagnostics,
|
|
121
|
+
createGLTFRenderResources,
|
|
122
|
+
createGLTFRenderSource
|
|
123
|
+
} from "./GLTFRenderResources";
|
|
124
|
+
export {
|
|
125
|
+
applyCarConceptMaterialStability,
|
|
126
|
+
carConceptMaterialVisualRole,
|
|
127
|
+
carConceptMaterialRenderStateOverrides
|
|
128
|
+
} from "./CarConceptMaterialStability";
|
|
129
|
+
export type {
|
|
130
|
+
CarConceptMaterialBaseline,
|
|
131
|
+
CarConceptMaterialVisualRole,
|
|
132
|
+
CarConceptMaterialStabilityOptions,
|
|
133
|
+
CarConceptMaterialStabilityProfile
|
|
134
|
+
} from "./CarConceptMaterialStability";
|
|
135
|
+
export type {
|
|
136
|
+
DecodedGLTFImage,
|
|
137
|
+
GLTFImageDecoder,
|
|
138
|
+
GLTFMaterialRenderStateOverride,
|
|
139
|
+
GLTFRenderResourceDiagnostics,
|
|
140
|
+
GLTFRenderResourceDiagnosticsOptions,
|
|
141
|
+
GLTFRenderResourceTextureSlotDiagnostic,
|
|
142
|
+
GLTFRenderQualityPreset,
|
|
143
|
+
GLTFRenderResourceOptions,
|
|
144
|
+
GLTFRenderResources,
|
|
145
|
+
GLTFRenderSourceOptions,
|
|
146
|
+
GLTFRendererInput,
|
|
147
|
+
GLTFRendererInputOptions
|
|
148
|
+
} from "./GLTFRenderResources";
|
|
149
|
+
export { LoadContext } from "./LoadContext";
|
|
150
|
+
export type { LoadContextOptions } from "./LoadContext";
|
|
151
|
+
export { TextureLoader } from "./TextureLoader";
|
|
152
|
+
export type { TextureDescriptorAsset } from "./TextureLoader";
|
|
153
|
+
export {
|
|
154
|
+
assertValidGLTFCorpusManifest,
|
|
155
|
+
createGLTFCorpusReport,
|
|
156
|
+
normalizeAssetImportSettings,
|
|
157
|
+
validateGLTFCorpusManifest
|
|
158
|
+
} from "./AssetCorpus";
|
|
159
|
+
export type {
|
|
160
|
+
AssetDiagnostic,
|
|
161
|
+
AssetDiagnosticSeverity,
|
|
162
|
+
AssetImportSettings,
|
|
163
|
+
GLTFCorpusAsset,
|
|
164
|
+
GLTFCorpusAssetFormat,
|
|
165
|
+
GLTFCorpusAssetReport,
|
|
166
|
+
GLTFCorpusExpectedStatus,
|
|
167
|
+
GLTFCorpusManifest,
|
|
168
|
+
GLTFCorpusReport,
|
|
169
|
+
GLTFCorpusSchemaVersion,
|
|
170
|
+
GLTFCorpusSource,
|
|
171
|
+
GLTFCorpusValidationResult
|
|
172
|
+
} from "./AssetCorpus";
|
|
173
|
+
export {
|
|
174
|
+
createAssetCompatibilityReport
|
|
175
|
+
} from "./AssetCompatibility";
|
|
176
|
+
export type {
|
|
177
|
+
AssetCompatibilityLoaderName,
|
|
178
|
+
AssetCompatibilityReport,
|
|
179
|
+
AssetCompatibilityReportAsset,
|
|
180
|
+
AssetCompatibilityReportOptions,
|
|
181
|
+
AssetCompatibilityStatus,
|
|
182
|
+
AssetLoaderCompatibilityResult,
|
|
183
|
+
BlenderExportCompatibilityResult,
|
|
184
|
+
ExternalAssetLoaderCompatibilityResult
|
|
185
|
+
} from "./AssetCompatibility";
|
|
186
|
+
export {
|
|
187
|
+
summarizeExternalParityGLTFCorpus,
|
|
188
|
+
summarizeExternalParityCorpus,
|
|
189
|
+
validateExternalParityGLTFCorpusManifest,
|
|
190
|
+
validateExternalParityCorpusManifest
|
|
191
|
+
} from "./ExternalParityGLTFCorpus";
|
|
192
|
+
export type {
|
|
193
|
+
ExternalParityGLTFCorpusAsset,
|
|
194
|
+
ExternalParityGLTFCorpusManifest,
|
|
195
|
+
ExternalParityGLTFCorpusSummary,
|
|
196
|
+
ExternalParityCorpusAsset,
|
|
197
|
+
ExternalParityCorpusManifest,
|
|
198
|
+
ExternalParityCorpusSummary
|
|
199
|
+
} from "./ExternalParityGLTFCorpus";
|
|
200
|
+
export { loadRenderableAsset } from "./loadRenderableAsset";
|
|
201
|
+
export type { LoadRenderableAssetOptions, RenderableAsset, RenderableAssetKind } from "./loadRenderableAsset";
|
|
202
|
+
export { createRenderableScene } from "./createRenderableScene";
|
|
203
|
+
export type { CreateRenderableSceneOptions, RenderableScene } from "./createRenderableScene";
|
|
204
|
+
export {
|
|
205
|
+
createProductionGLTFRenderMetadata,
|
|
206
|
+
loadProductionGLTFRenderPipeline
|
|
207
|
+
} from "./asset-corpus/ProductionGLTFRenderPipeline";
|
|
208
|
+
export type {
|
|
209
|
+
ProductionGLTFRenderMetadata,
|
|
210
|
+
ProductionGLTFRenderWarning,
|
|
211
|
+
ProductionGLTFRenderPipeline,
|
|
212
|
+
ProductionGLTFRenderPipelineOptions
|
|
213
|
+
} from "./asset-corpus/ProductionGLTFRenderPipeline";
|
|
214
|
+
export { createDracoDecoder, createMeshoptDecoder } from "./GLTFCompressionDecoders";
|
|
215
|
+
export type {
|
|
216
|
+
GLTFDracoAttribute,
|
|
217
|
+
GLTFDracoDecoderBuffer,
|
|
218
|
+
GLTFDracoDecoderInstance,
|
|
219
|
+
GLTFDracoDecoderModule,
|
|
220
|
+
GLTFDracoMesh,
|
|
221
|
+
GLTFDracoNumericArray,
|
|
222
|
+
GLTFDracoStatus,
|
|
223
|
+
GLTFMeshoptDecoderModule
|
|
224
|
+
} from "./GLTFCompressionDecoders";
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type CollectedLight,
|
|
3
|
+
createCanonicalProductSceneRenderKit,
|
|
4
|
+
type CameraFrameViewport,
|
|
5
|
+
type RenderSource,
|
|
6
|
+
type RendererPostProcessOptions,
|
|
7
|
+
type RendererShadowOptions
|
|
8
|
+
} from "@aura3d/rendering";
|
|
9
|
+
import { DirectionalLight } from "@aura3d/scene";
|
|
10
|
+
import { createAssetRenderDefaults, type AssetRenderLightingPreset } from "./AssetRenderDefaults";
|
|
11
|
+
import { createGLTFRenderResources, type GLTFRendererInput, type GLTFRenderQualityPreset, type GLTFRenderResourceOptions, type GLTFRenderResources } from "./GLTFRenderResources";
|
|
12
|
+
import type { RenderableAsset } from "./loadRenderableAsset";
|
|
13
|
+
|
|
14
|
+
export interface CreateRenderableSceneOptions {
|
|
15
|
+
readonly camera?: "auto-frame";
|
|
16
|
+
readonly lighting?: AssetRenderLightingPreset;
|
|
17
|
+
readonly shadows?: boolean | RendererShadowOptions;
|
|
18
|
+
readonly postprocess?: "product-default" | RendererPostProcessOptions | false;
|
|
19
|
+
readonly viewport?: CameraFrameViewport;
|
|
20
|
+
readonly qualityPreset?: GLTFRenderQualityPreset;
|
|
21
|
+
readonly renderResources?: GLTFRenderResourceOptions;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface RenderableScene {
|
|
25
|
+
readonly source: RenderSource;
|
|
26
|
+
readonly rendererInput?: GLTFRendererInput;
|
|
27
|
+
readonly kind: RenderableAsset["kind"];
|
|
28
|
+
readonly setupLineBudget: number;
|
|
29
|
+
readonly warnings: readonly string[];
|
|
30
|
+
dispose(): void;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export async function createRenderableScene(
|
|
34
|
+
asset: RenderableAsset,
|
|
35
|
+
options: CreateRenderableSceneOptions = {}
|
|
36
|
+
): Promise<RenderableScene> {
|
|
37
|
+
const defaults = createAssetRenderDefaults(options.lighting);
|
|
38
|
+
if (asset.kind === "canonical-product-scene") {
|
|
39
|
+
const kit = createCanonicalProductSceneRenderKit({
|
|
40
|
+
lightingPreset: canonicalLightingPreset(options.lighting)
|
|
41
|
+
});
|
|
42
|
+
return {
|
|
43
|
+
kind: asset.kind,
|
|
44
|
+
source: {
|
|
45
|
+
...kit.source,
|
|
46
|
+
...(options.shadows === false ? { shadow: false } : {}),
|
|
47
|
+
...(typeof options.shadows === "object" ? { shadow: options.shadows } : {}),
|
|
48
|
+
...(options.postprocess === false ? { postprocess: false } : {}),
|
|
49
|
+
...(typeof options.postprocess === "object" ? { postprocess: options.postprocess } : {})
|
|
50
|
+
},
|
|
51
|
+
setupLineBudget: kit.canonical.publicSetupLineBudget,
|
|
52
|
+
warnings: asset.warnings,
|
|
53
|
+
dispose: () => kit.dispose()
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (!asset.gltf) {
|
|
58
|
+
throw new Error("Renderable glTF asset is missing its parsed GLTFAsset payload.");
|
|
59
|
+
}
|
|
60
|
+
const resources = await createGLTFRenderResources(asset.gltf, options.renderResources);
|
|
61
|
+
const viewport = options.viewport ?? defaults.viewport;
|
|
62
|
+
const shadow = options.shadows === false
|
|
63
|
+
? false
|
|
64
|
+
: typeof options.shadows === "object"
|
|
65
|
+
? options.shadows
|
|
66
|
+
: defaults.shadows;
|
|
67
|
+
const postprocess = options.postprocess === false
|
|
68
|
+
? false
|
|
69
|
+
: typeof options.postprocess === "object"
|
|
70
|
+
? options.postprocess
|
|
71
|
+
: defaults.postprocess;
|
|
72
|
+
const rendererInput = resources.toRendererInput(viewport, {
|
|
73
|
+
qualityPreset: options.qualityPreset ?? "studio-preview",
|
|
74
|
+
frame: defaults.frame,
|
|
75
|
+
shadow,
|
|
76
|
+
postprocess
|
|
77
|
+
});
|
|
78
|
+
const source = {
|
|
79
|
+
...rendererInput.source,
|
|
80
|
+
...(shadow !== false ? { collectedLights: createAssetDefaultCollectedLights() } : {})
|
|
81
|
+
};
|
|
82
|
+
return gltfRenderableScene(asset, resources, { ...rendererInput, source });
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function canonicalLightingPreset(lighting: AssetRenderLightingPreset | undefined): "studio" | "soft" | "inspection" | "dramatic" | "neutral" {
|
|
86
|
+
switch (lighting) {
|
|
87
|
+
case "gameNight":
|
|
88
|
+
return "dramatic";
|
|
89
|
+
case "outdoorDay":
|
|
90
|
+
return "inspection";
|
|
91
|
+
case "interiorGallery":
|
|
92
|
+
return "soft";
|
|
93
|
+
case "studioProduct":
|
|
94
|
+
case undefined:
|
|
95
|
+
return "studio";
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function createAssetDefaultCollectedLights(): readonly CollectedLight[] {
|
|
100
|
+
const key = new DirectionalLight("asset-default-key-light");
|
|
101
|
+
key.intensity = 2.4;
|
|
102
|
+
key.color = [1, 0.93, 0.8];
|
|
103
|
+
key.castsShadow = true;
|
|
104
|
+
return [{
|
|
105
|
+
kind: "directional",
|
|
106
|
+
color: [1, 0.93, 0.8],
|
|
107
|
+
intensity: 2.4,
|
|
108
|
+
position: [0, 0, 0],
|
|
109
|
+
direction: [0.42, -0.7, -0.58],
|
|
110
|
+
range: 0,
|
|
111
|
+
spotAngle: 0,
|
|
112
|
+
penumbra: 0,
|
|
113
|
+
castsShadow: true,
|
|
114
|
+
layerMask: 0xffffffff,
|
|
115
|
+
source: key
|
|
116
|
+
}];
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function gltfRenderableScene(asset: RenderableAsset, resources: GLTFRenderResources, rendererInput: GLTFRendererInput): RenderableScene {
|
|
120
|
+
return {
|
|
121
|
+
kind: asset.kind,
|
|
122
|
+
source: rendererInput.source,
|
|
123
|
+
rendererInput,
|
|
124
|
+
setupLineBudget: 30,
|
|
125
|
+
warnings: asset.warnings,
|
|
126
|
+
dispose: () => resources.dispose()
|
|
127
|
+
};
|
|
128
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
export { AssetCache } from "./AssetCache";
|
|
2
|
+
export type { AssetCacheSnapshot } from "./AssetCache";
|
|
3
|
+
export { createAssetBundleCacheEvidence } from "./AssetBundleCacheFixtures";
|
|
4
|
+
export type {
|
|
5
|
+
AssetBundleCacheEvictionPolicy,
|
|
6
|
+
AssetBundleCacheEvidence,
|
|
7
|
+
AssetBundleCacheInput,
|
|
8
|
+
AssetBundleManifestEvidenceEntry
|
|
9
|
+
} from "./AssetBundleCacheFixtures";
|
|
10
|
+
export { createGLTFSceneAnalysisEvidence } from "./SceneAnalysisFixtures";
|
|
11
|
+
export type {
|
|
12
|
+
GLTFComputerVisionBoundingBox,
|
|
13
|
+
GLTFObjectDetectionEvidence,
|
|
14
|
+
GLTFObjectTrackEvidence,
|
|
15
|
+
GLTFPoseEvidence,
|
|
16
|
+
GLTFPoseKeypointEvidence,
|
|
17
|
+
GLTFSceneAnalysisEvidence,
|
|
18
|
+
GLTFSceneAnalysisOptions,
|
|
19
|
+
GLTFSemanticSegment
|
|
20
|
+
} from "./SceneAnalysisFixtures";
|
|
21
|
+
export { AssetDependencyGraph } from "./AssetDependencyGraph";
|
|
22
|
+
export { inspectGLTFAsset } from "./AssetInspection";
|
|
23
|
+
export type {
|
|
24
|
+
GLTFAnimationInspection,
|
|
25
|
+
GLTFAssetInspectionReport,
|
|
26
|
+
GLTFDependencyInspection,
|
|
27
|
+
GLTFMaterialInspection,
|
|
28
|
+
GLTFMaterialTextureSlotInspection,
|
|
29
|
+
GLTFMeshInspection,
|
|
30
|
+
GLTFMorphTargetInspection,
|
|
31
|
+
GLTFSceneHierarchyNodeInspection,
|
|
32
|
+
GLTFSkinInspection,
|
|
33
|
+
GLTFTextureInspection
|
|
34
|
+
} from "./AssetInspection";
|
|
35
|
+
export {
|
|
36
|
+
GLTF_DECODER_REQUIRED_EXTENSION_NAMES,
|
|
37
|
+
GLTF_DIAGNOSTIC_ONLY_EXTENSION_NAMES,
|
|
38
|
+
GLTF_EXTENSION_SUPPORT_MATRIX,
|
|
39
|
+
GLTF_PARSED_WITH_LIMITS_EXTENSION_NAMES,
|
|
40
|
+
GLTF_REQUIRED_ACCEPTED_EXTENSION_NAMES,
|
|
41
|
+
GLTF_RUNTIME_SUPPORTED_EXTENSION_NAMES,
|
|
42
|
+
GLTF_SUPPORTED_EXTENSION_NAMES,
|
|
43
|
+
evaluateGLTFExtensionSupport,
|
|
44
|
+
getGLTFExtensionSupport
|
|
45
|
+
} from "./GLTFExtensionSupport";
|
|
46
|
+
export type {
|
|
47
|
+
GLTFExtensionSupportEntry,
|
|
48
|
+
GLTFExtensionSupportEvaluation,
|
|
49
|
+
GLTFExtensionSupportFamily,
|
|
50
|
+
GLTFExtensionSupportStatus
|
|
51
|
+
} from "./GLTFExtensionSupport";
|
|
52
|
+
export { createGLTFSceneAnimationMixer, createGLTFSceneAnimationRuntime, GLTFImportedSkeletonIKController, GLTFSceneAnimationCloneSampler, GLTFSceneAnimationMixerBinding, GLTFSceneAnimationRuntime, GLTFSceneMorphTargetController } from "./GLTFAnimationRuntime";
|
|
53
|
+
export type {
|
|
54
|
+
GLTFImportedSkeletonIKControllerOptions,
|
|
55
|
+
GLTFImportedSkeletonIKControllerSnapshot,
|
|
56
|
+
GLTFImportedSkeletonIKOptions,
|
|
57
|
+
GLTFImportedSkeletonIKResult,
|
|
58
|
+
GLTFSceneAnimationApplyResult,
|
|
59
|
+
GLTFSceneAnimationActionSnapshot,
|
|
60
|
+
GLTFSceneAnimationCloneSample,
|
|
61
|
+
GLTFSceneAnimationCloneSampleResult,
|
|
62
|
+
GLTFSceneAnimationCloneSamplerSnapshot,
|
|
63
|
+
GLTFSceneAnimationClipBindingDiagnostics,
|
|
64
|
+
GLTFSceneAnimationMixerOptions,
|
|
65
|
+
GLTFSceneAnimationPlayOptions,
|
|
66
|
+
GLTFSceneAnimationMixerSnapshot,
|
|
67
|
+
GLTFSceneAnimationMixerUpdateResult,
|
|
68
|
+
GLTFSceneAnimationRuntimeOptions,
|
|
69
|
+
GLTFSceneAnimationRuntimeSnapshot,
|
|
70
|
+
GLTFSceneMorphTargetControllerOptions,
|
|
71
|
+
GLTFSceneMorphTargetControllerSnapshot
|
|
72
|
+
} from "./GLTFAnimationRuntime";
|
|
73
|
+
export { AssetHandle } from "./AssetHandle";
|
|
74
|
+
export type { AssetHandleOptions, AssetHandleStatus } from "./AssetHandle";
|
|
75
|
+
export { AssetLoadError } from "./AssetLoader";
|
|
76
|
+
export type { AssetLoader, AssetLoadProgress, AssetLoadRequest } from "./AssetLoader";
|
|
77
|
+
export { AssetManager } from "./AssetManager";
|
|
78
|
+
export type { AssetLoadOptions, AssetManagerOptions } from "./AssetManager";
|
|
79
|
+
export { AssetRegistry } from "./AssetRegistry";
|
|
80
|
+
export { createAssetImportPreflightReport, detectAssetImportFormat } from "./AssetImportPreflight";
|
|
81
|
+
export type {
|
|
82
|
+
AssetImportPreflightFormat,
|
|
83
|
+
AssetImportPreflightOptions,
|
|
84
|
+
AssetImportPreflightProfile,
|
|
85
|
+
AssetImportPreflightReport,
|
|
86
|
+
AssetImportPreflightSettings,
|
|
87
|
+
AssetImportPreflightStatus
|
|
88
|
+
} from "./AssetImportPreflight";
|
|
89
|
+
export {
|
|
90
|
+
createAssetCompatibilityReport
|
|
91
|
+
} from "./AssetCompatibility";
|
|
92
|
+
export type {
|
|
93
|
+
AssetCompatibilityLoaderName,
|
|
94
|
+
AssetCompatibilityReport,
|
|
95
|
+
AssetCompatibilityReportAsset,
|
|
96
|
+
AssetCompatibilityReportOptions,
|
|
97
|
+
AssetCompatibilityStatus,
|
|
98
|
+
AssetLoaderCompatibilityResult,
|
|
99
|
+
BlenderExportCompatibilityResult,
|
|
100
|
+
ExternalAssetLoaderCompatibilityResult
|
|
101
|
+
} from "./AssetCompatibility";
|
|
102
|
+
export {
|
|
103
|
+
summarizeExternalParityGLTFCorpus,
|
|
104
|
+
summarizeExternalParityCorpus,
|
|
105
|
+
validateExternalParityGLTFCorpusManifest,
|
|
106
|
+
validateExternalParityCorpusManifest
|
|
107
|
+
} from "./ExternalParityGLTFCorpus";
|
|
108
|
+
export type {
|
|
109
|
+
ExternalParityGLTFCorpusAsset,
|
|
110
|
+
ExternalParityGLTFCorpusManifest,
|
|
111
|
+
ExternalParityGLTFCorpusSummary,
|
|
112
|
+
ExternalParityCorpusAsset,
|
|
113
|
+
ExternalParityCorpusManifest,
|
|
114
|
+
ExternalParityCorpusSummary
|
|
115
|
+
} from "./ExternalParityGLTFCorpus";
|
|
116
|
+
export {
|
|
117
|
+
loadThreeCompatAssetManifest,
|
|
118
|
+
loadThreeCompatAssetRegistry,
|
|
119
|
+
summarizeThreeCompatAssetRegistry
|
|
120
|
+
} from "./threejs-compatibility/ThreeCompatAssetRegistry";
|
|
121
|
+
export {
|
|
122
|
+
createThreeCompatAssetProvenance
|
|
123
|
+
} from "./threejs-compatibility/ThreeCompatAssetProvenance";
|
|
124
|
+
export type {
|
|
125
|
+
ThreeCompatAssetManifest,
|
|
126
|
+
ThreeCompatAssetRegistrySummary
|
|
127
|
+
} from "./threejs-compatibility/ThreeCompatAssetRegistry";
|
|
128
|
+
export type {
|
|
129
|
+
ThreeCompatAssetProvenance,
|
|
130
|
+
ThreeCompatSourceAsset,
|
|
131
|
+
ThreeCompatTrackedAssetInput
|
|
132
|
+
} from "./threejs-compatibility/ThreeCompatAssetProvenance";
|
|
133
|
+
export {
|
|
134
|
+
createProductionGLTFRenderMetadata,
|
|
135
|
+
createProductionAssetCorpusSummary,
|
|
136
|
+
inspectProductionGlb,
|
|
137
|
+
loadProductionGLTFRenderPipeline,
|
|
138
|
+
loadProductionAssetManifest
|
|
139
|
+
} from "./asset-corpus";
|
|
140
|
+
export type {
|
|
141
|
+
ProductionAssetClass,
|
|
142
|
+
ProductionAssetCorpusRequirements,
|
|
143
|
+
ProductionAssetCorpusSummary,
|
|
144
|
+
ProductionAssetManifest,
|
|
145
|
+
ProductionAssetManifestEntry,
|
|
146
|
+
ProductionAssetReadinessEntry,
|
|
147
|
+
ProductionGLTFRenderMetadata,
|
|
148
|
+
ProductionGLTFRenderWarning,
|
|
149
|
+
ProductionGLTFRenderPipeline,
|
|
150
|
+
ProductionGLTFRenderPipelineOptions,
|
|
151
|
+
ProductionGlbInspection
|
|
152
|
+
} from "./asset-corpus";
|
|
153
|
+
export {
|
|
154
|
+
createAdvancedAssetCorpusSummary,
|
|
155
|
+
inspectCurrentRoutesGlb,
|
|
156
|
+
loadCurrentRoutesAssetManifest,
|
|
157
|
+
writeAdvancedAssetCorpusReport
|
|
158
|
+
} from "./AdvancedAssetCorpus";
|
|
159
|
+
export type {
|
|
160
|
+
CurrentRoutesAssetClass,
|
|
161
|
+
AdvancedAssetCorpusSummary,
|
|
162
|
+
CurrentRoutesAssetManifest,
|
|
163
|
+
CurrentRoutesAssetManifestEntry,
|
|
164
|
+
CurrentRoutesAssetReadinessEntry,
|
|
165
|
+
CurrentRoutesAssetRequirement,
|
|
166
|
+
CurrentRoutesEnvironmentManifestEntry,
|
|
167
|
+
CurrentRoutesEnvironmentReadinessEntry,
|
|
168
|
+
CurrentRoutesGlbInspection
|
|
169
|
+
} from "./AdvancedAssetCorpus";
|
|
170
|
+
export * from "./loaders";
|
|
171
|
+
export {
|
|
172
|
+
DEFAULT_ASSET_IMPORT_SETTINGS,
|
|
173
|
+
assertValidGLTFCorpusManifest,
|
|
174
|
+
createGLTFCorpusReport,
|
|
175
|
+
normalizeAssetImportSettings,
|
|
176
|
+
validateGLTFCorpusManifest
|
|
177
|
+
} from "./AssetCorpus";
|
|
178
|
+
export type {
|
|
179
|
+
AssetDiagnostic,
|
|
180
|
+
AssetDiagnosticSeverity,
|
|
181
|
+
AssetImportSettings,
|
|
182
|
+
GLTFCorpusAsset,
|
|
183
|
+
GLTFCorpusAssetFormat,
|
|
184
|
+
GLTFCorpusAssetReport,
|
|
185
|
+
GLTFCorpusExpectedStatus,
|
|
186
|
+
GLTFCorpusManifest,
|
|
187
|
+
GLTFCorpusReport,
|
|
188
|
+
GLTFCorpusSchemaVersion,
|
|
189
|
+
GLTFCorpusSource,
|
|
190
|
+
GLTFCorpusValidationResult
|
|
191
|
+
} from "./AssetCorpus";
|
|
192
|
+
export { AudioLoader } from "./AudioLoader";
|
|
193
|
+
export type { AudioAsset, AudioDecodeContext } from "./AudioLoader";
|
|
194
|
+
export { assertValidBlenderExportFixtureManifest, createBlenderExportValidationReport } from "./BlenderExportValidation";
|
|
195
|
+
export type {
|
|
196
|
+
BlenderExportFixture,
|
|
197
|
+
BlenderExportFixtureInput,
|
|
198
|
+
BlenderExportFixtureManifest,
|
|
199
|
+
BlenderExportValidationDiagnostic,
|
|
200
|
+
BlenderExportValidationFixtureResult,
|
|
201
|
+
BlenderExportValidationReport,
|
|
202
|
+
BlenderExportValidationStatus
|
|
203
|
+
} from "./BlenderExportValidation";
|
|
204
|
+
export { createDracoDecoder, createMeshoptDecoder } from "./GLTFCompressionDecoders";
|
|
205
|
+
export type {
|
|
206
|
+
GLTFDracoAttribute,
|
|
207
|
+
GLTFDracoDecoderBuffer,
|
|
208
|
+
GLTFDracoDecoderInstance,
|
|
209
|
+
GLTFDracoDecoderModule,
|
|
210
|
+
GLTFDracoMesh,
|
|
211
|
+
GLTFDracoNumericArray,
|
|
212
|
+
GLTFDracoStatus,
|
|
213
|
+
GLTFMeshoptDecoderModule
|
|
214
|
+
} from "./GLTFCompressionDecoders";
|
|
215
|
+
export {
|
|
216
|
+
applyCarConceptMaterialStability,
|
|
217
|
+
carConceptMaterialVisualRole,
|
|
218
|
+
carConceptMaterialRenderStateOverrides
|
|
219
|
+
} from "./CarConceptMaterialStability";
|
|
220
|
+
export type {
|
|
221
|
+
CarConceptMaterialBaseline,
|
|
222
|
+
CarConceptMaterialVisualRole,
|
|
223
|
+
CarConceptMaterialStabilityOptions,
|
|
224
|
+
CarConceptMaterialStabilityProfile
|
|
225
|
+
} from "./CarConceptMaterialStability";
|
|
226
|
+
export { ImageLoader } from "./ImageLoader";
|
|
227
|
+
export type { ImageAsset } from "./ImageLoader";
|
|
228
|
+
export { GLTFLoader } from "./GLTFLoader";
|
|
229
|
+
export type {
|
|
230
|
+
GLTFAsset,
|
|
231
|
+
GLTFCameraAsset,
|
|
232
|
+
GLTFClearcoatMaterialExtension,
|
|
233
|
+
GLTFDracoDecodeDescriptor,
|
|
234
|
+
GLTFDracoDecodedPrimitive,
|
|
235
|
+
GLTFDracoDecoder,
|
|
236
|
+
GLTFGeometryAsset,
|
|
237
|
+
GLTFImageAsset,
|
|
238
|
+
GLTFLightAsset,
|
|
239
|
+
GLTFLoaderOptions,
|
|
240
|
+
GLTFLoaderDiagnostics,
|
|
241
|
+
GLTFMaterialAsset,
|
|
242
|
+
GLTFMaterialVariantAsset,
|
|
243
|
+
GLTFMaterialVariantMappingAsset,
|
|
244
|
+
GLTFMeshAsset,
|
|
245
|
+
GLTFMeshoptDecodeDescriptor,
|
|
246
|
+
GLTFMeshoptDecoder,
|
|
247
|
+
GLTFPBRSpecularGlossinessMaterialExtension,
|
|
248
|
+
GLTFResolvedTextureInfo,
|
|
249
|
+
GLTFSamplerAsset,
|
|
250
|
+
GLTFSceneAsset,
|
|
251
|
+
GLTFSceneCreateOptions,
|
|
252
|
+
GLTFSheenMaterialExtension,
|
|
253
|
+
GLTFSkinAsset,
|
|
254
|
+
GLTFSpecularMaterialExtension,
|
|
255
|
+
GLTFTextureAsset,
|
|
256
|
+
GLTFTransmissionMaterialExtension,
|
|
257
|
+
GLTFVolumeMaterialExtension,
|
|
258
|
+
SerializedGLTFAsset
|
|
259
|
+
} from "./GLTFLoader";
|
|
260
|
+
export { OBJLoader } from "./OBJLoader";
|
|
261
|
+
export {
|
|
262
|
+
DEFAULT_GLTF_RENDER_ENVIRONMENT_LIGHTING,
|
|
263
|
+
DEFAULT_GLTF_HDR_STUDIO_PREVIEW_POSTPROCESS,
|
|
264
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_FRAME,
|
|
265
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_ENVIRONMENT_LIGHTING,
|
|
266
|
+
DEFAULT_GLTF_STUDIO_PREVIEW_POSTPROCESS,
|
|
267
|
+
createDefaultGLTFHdrStudioPreviewEnvironmentLighting,
|
|
268
|
+
createGLTFRenderResourceDiagnostics,
|
|
269
|
+
createGLTFRenderResources,
|
|
270
|
+
createGLTFRenderSource
|
|
271
|
+
} from "./GLTFRenderResources";
|
|
272
|
+
export type {
|
|
273
|
+
DecodedGLTFImage,
|
|
274
|
+
GLTFImageDecoder,
|
|
275
|
+
GLTFMaterialRenderStateOverride,
|
|
276
|
+
GLTFMaterialOverrideQuery,
|
|
277
|
+
GLTFMaterialOverrideTarget,
|
|
278
|
+
GLTFRenderableBinding,
|
|
279
|
+
GLTFRenderResourceDiagnostics,
|
|
280
|
+
GLTFRenderResourceDiagnosticsOptions,
|
|
281
|
+
GLTFRenderResourceTextureSlotDiagnostic,
|
|
282
|
+
GLTFRenderQualityPreset,
|
|
283
|
+
GLTFRendererInput,
|
|
284
|
+
GLTFRendererInputOptions,
|
|
285
|
+
GLTFRenderResourceOptions,
|
|
286
|
+
GLTFRenderSourceOptions,
|
|
287
|
+
GLTFRenderResources
|
|
288
|
+
} from "./GLTFRenderResources";
|
|
289
|
+
export { createAssetRenderDefaults, DEFAULT_ASSET_RENDER_VIEWPORT } from "./AssetRenderDefaults";
|
|
290
|
+
export type { AssetRenderDefaults, AssetRenderLightingPreset } from "./AssetRenderDefaults";
|
|
291
|
+
export { loadRenderableAsset } from "./loadRenderableAsset";
|
|
292
|
+
export type { LoadRenderableAssetOptions, RenderableAsset, RenderableAssetKind } from "./loadRenderableAsset";
|
|
293
|
+
export { createRenderableScene } from "./createRenderableScene";
|
|
294
|
+
export type { CreateRenderableSceneOptions, RenderableScene } from "./createRenderableScene";
|
|
295
|
+
export { transcodeKTX2BasisTexture } from "./KTX2BasisTextureTranscoder";
|
|
296
|
+
export type { KTX2BasisTargetFormat, KTX2BasisTextureTranscoderOptions } from "./KTX2BasisTextureTranscoder";
|
|
297
|
+
export { ImportPipeline, ImportPipelineError } from "./ImportPipeline";
|
|
298
|
+
export type { ImportPipelineContext, ImportPipelineProgressEvent, ImportPipelineProgressStatus, ImportStage } from "./ImportPipeline";
|
|
299
|
+
export { LoadContext } from "./LoadContext";
|
|
300
|
+
export type { LoadContextOptions } from "./LoadContext";
|
|
301
|
+
export { MaterialLoader, createMaterialFromDescriptor } from "./MaterialLoader";
|
|
302
|
+
export type { MaterialDescriptorAsset } from "./MaterialLoader";
|
|
303
|
+
export { createMeshOptimizationStage, optimizeIndexedMesh } from "./MeshOptimization";
|
|
304
|
+
export type { MeshAttributeValue, MeshOptimizationInput, MeshOptimizationResult, MeshOptimizationStageOptions } from "./MeshOptimization";
|
|
305
|
+
export { SceneLoader } from "./SceneLoader";
|
|
306
|
+
export type { NativeSceneAsset, NativeSceneNodeDescriptor } from "./SceneLoader";
|
|
307
|
+
export { ShaderLoader } from "./ShaderLoader";
|
|
308
|
+
export type { ShaderSourceAsset } from "./ShaderLoader";
|
|
309
|
+
export { createTextureMipGenerationStage, generateTextureMipChain } from "./TexturePipeline";
|
|
310
|
+
export type { TextureMipGenerationInput, TextureMipGenerationResult, TextureMipGenerationStageOptions, TextureMipLevel } from "./TexturePipeline";
|
|
311
|
+
export { TextureLoader } from "./TextureLoader";
|
|
312
|
+
export type { TextureDescriptorAsset } from "./TextureLoader";
|
|
313
|
+
export { WorkerAssetJobs } from "./WorkerAssetJobs";
|
|
314
|
+
export type { WorkerAssetJob, WorkerAssetJobRunner } from "./WorkerAssetJobs";
|
|
315
|
+
export * from "./HDRLoader.js";
|
|
316
|
+
export * from "./EXRLoader.js";
|
|
317
|
+
export * from "./TextureStreaming.js";
|