@aura3d/engine 3.0.0 → 3.0.1
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 +24 -5
- package/dist/animation/AnimationMixer.d.ts +4 -1
- package/dist/animation/AnimationMixer.d.ts.map +1 -1
- package/dist/animation/AnimationMixer.js +36 -29
- package/dist/animation/AnimationMixer.js.map +1 -1
- package/dist/animation/FootIk.d.ts +9 -0
- package/dist/animation/FootIk.d.ts.map +1 -1
- package/dist/animation/FootIk.js +22 -8
- package/dist/animation/FootIk.js.map +1 -1
- package/dist/animation/HumanoidRetargeting.d.ts +6 -2
- package/dist/animation/HumanoidRetargeting.d.ts.map +1 -1
- package/dist/animation/HumanoidRetargeting.js +18 -8
- package/dist/animation/HumanoidRetargeting.js.map +1 -1
- package/dist/animation/LocomotionEvidence.d.ts +34 -0
- package/dist/animation/LocomotionEvidence.d.ts.map +1 -0
- package/dist/animation/LocomotionEvidence.js +48 -0
- package/dist/animation/LocomotionEvidence.js.map +1 -0
- package/dist/animation/RootMotion.d.ts +13 -4
- package/dist/animation/RootMotion.d.ts.map +1 -1
- package/dist/animation/RootMotion.js +21 -1
- package/dist/animation/RootMotion.js.map +1 -1
- package/dist/animation/index.d.ts +1 -0
- package/dist/animation/index.d.ts.map +1 -1
- package/dist/animation/index.js +1 -0
- package/dist/animation/index.js.map +1 -1
- package/dist/assets/GLTFAnimationRuntime.d.ts +84 -4
- package/dist/assets/GLTFAnimationRuntime.d.ts.map +1 -1
- package/dist/assets/GLTFAnimationRuntime.js +308 -23
- package/dist/assets/GLTFAnimationRuntime.js.map +1 -1
- package/dist/assets/GLTFCompressionDecoders.d.ts +1 -0
- package/dist/assets/GLTFCompressionDecoders.d.ts.map +1 -1
- package/dist/assets/GLTFCompressionDecoders.js +20 -5
- package/dist/assets/GLTFCompressionDecoders.js.map +1 -1
- package/dist/assets/GLTFLoader.d.ts.map +1 -1
- package/dist/assets/GLTFLoader.js +21 -7
- package/dist/assets/GLTFLoader.js.map +1 -1
- package/dist/assets/KTX2BasisTextureTranscoder.d.ts.map +1 -1
- package/dist/assets/KTX2BasisTextureTranscoder.js +8 -0
- package/dist/assets/KTX2BasisTextureTranscoder.js.map +1 -1
- package/dist/controls/MapControls.d.ts +1 -1
- package/dist/controls/MapControls.d.ts.map +1 -1
- package/dist/controls/MapControls.js +3 -3
- package/dist/controls/MapControls.js.map +1 -1
- package/dist/controls/OrbitControls.d.ts +17 -3
- package/dist/controls/OrbitControls.d.ts.map +1 -1
- package/dist/controls/OrbitControls.js +24 -7
- package/dist/controls/OrbitControls.js.map +1 -1
- package/dist/controls/TrackballControls.d.ts.map +1 -1
- package/dist/controls/TrackballControls.js +2 -0
- package/dist/controls/TrackballControls.js.map +1 -1
- package/dist/create-aura3d/index.js +1 -1
- package/dist/engine/agent-api/AnimationController.d.ts +5 -1
- package/dist/engine/agent-api/AnimationController.d.ts.map +1 -1
- package/dist/engine/agent-api/AnimationController.js +5 -0
- package/dist/engine/agent-api/AnimationController.js.map +1 -1
- package/dist/engine/agent-api/CameraProjection.d.ts +2 -0
- package/dist/engine/agent-api/CameraProjection.d.ts.map +1 -0
- package/dist/engine/agent-api/CameraProjection.js +2 -0
- package/dist/engine/agent-api/CameraProjection.js.map +1 -0
- package/dist/engine/agent-api/DeferredFrameResources.d.ts +2 -0
- package/dist/engine/agent-api/DeferredFrameResources.d.ts.map +1 -0
- package/dist/engine/agent-api/DeferredFrameResources.js +2 -0
- package/dist/engine/agent-api/DeferredFrameResources.js.map +1 -0
- package/dist/engine/agent-api/FootPlanting.d.ts +6 -0
- package/dist/engine/agent-api/FootPlanting.d.ts.map +1 -1
- package/dist/engine/agent-api/FootPlanting.js +2 -1
- package/dist/engine/agent-api/FootPlanting.js.map +1 -1
- package/dist/engine/agent-api/GameCameraRigs.d.ts.map +1 -1
- package/dist/engine/agent-api/GameCameraRigs.js +7 -2
- package/dist/engine/agent-api/GameCameraRigs.js.map +1 -1
- package/dist/engine/agent-api/LabelTelemetry.d.ts +8 -2
- package/dist/engine/agent-api/LabelTelemetry.d.ts.map +1 -1
- package/dist/engine/agent-api/LabelTelemetry.js +18 -4
- package/dist/engine/agent-api/LabelTelemetry.js.map +1 -1
- package/dist/engine/agent-api/ModelInstanceMatrices.d.ts +2 -0
- package/dist/engine/agent-api/ModelInstanceMatrices.d.ts.map +1 -0
- package/dist/engine/agent-api/ModelInstanceMatrices.js +2 -0
- package/dist/engine/agent-api/ModelInstanceMatrices.js.map +1 -0
- package/dist/engine/agent-api/NavigationCrowds.d.ts +28 -0
- package/dist/engine/agent-api/NavigationCrowds.d.ts.map +1 -1
- package/dist/engine/agent-api/NavigationCrowds.js +73 -1
- package/dist/engine/agent-api/NavigationCrowds.js.map +1 -1
- package/dist/engine/agent-api/PngTexturePixels.d.ts +9 -0
- package/dist/engine/agent-api/PngTexturePixels.d.ts.map +1 -0
- package/dist/engine/agent-api/PngTexturePixels.js +53 -0
- package/dist/engine/agent-api/PngTexturePixels.js.map +1 -0
- package/dist/engine/agent-api/RootDiagnosticSnapshot.d.ts +2 -0
- package/dist/engine/agent-api/RootDiagnosticSnapshot.d.ts.map +1 -0
- package/dist/engine/agent-api/RootDiagnosticSnapshot.js +2 -0
- package/dist/engine/agent-api/RootDiagnosticSnapshot.js.map +1 -0
- package/dist/engine/agent-api/RootFrameClock.d.ts +2 -0
- package/dist/engine/agent-api/RootFrameClock.d.ts.map +1 -0
- package/dist/engine/agent-api/RootFrameClock.js +2 -0
- package/dist/engine/agent-api/RootFrameClock.js.map +1 -0
- package/dist/engine/agent-api/RootPerformanceQuality.d.ts +2 -0
- package/dist/engine/agent-api/RootPerformanceQuality.d.ts.map +1 -0
- package/dist/engine/agent-api/RootPerformanceQuality.js +2 -0
- package/dist/engine/agent-api/RootPerformanceQuality.js.map +1 -0
- package/dist/engine/agent-api/RootRuntimeSupport.d.ts +61 -0
- package/dist/engine/agent-api/RootRuntimeSupport.d.ts.map +1 -0
- package/dist/engine/agent-api/RootRuntimeSupport.js +127 -0
- package/dist/engine/agent-api/RootRuntimeSupport.js.map +1 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.d.ts +22 -0
- package/dist/engine/agent-api/RuntimeNodeHandle.d.ts.map +1 -1
- package/dist/engine/agent-api/RuntimeNodeHandle.js.map +1 -1
- package/dist/engine/agent-api/WorldLabelRenderer.d.ts +13 -2
- package/dist/engine/agent-api/WorldLabelRenderer.d.ts.map +1 -1
- package/dist/engine/agent-api/WorldLabelRenderer.js +58 -26
- package/dist/engine/agent-api/WorldLabelRenderer.js.map +1 -1
- package/dist/engine/agent-api/index.d.ts +103 -8
- package/dist/engine/agent-api/index.d.ts.map +1 -1
- package/dist/engine/agent-api/index.js +750 -242
- package/dist/engine/agent-api/index.js.map +1 -1
- package/dist/engine/agent-api/product-viewer-runtime.d.ts.map +1 -1
- package/dist/engine/production-runtime/RootGpuParticleWorkload.d.ts +34 -0
- package/dist/engine/production-runtime/RootGpuParticleWorkload.d.ts.map +1 -0
- package/dist/engine/production-runtime/RootGpuParticleWorkload.js +117 -0
- package/dist/engine/production-runtime/RootGpuParticleWorkload.js.map +1 -0
- package/dist/engine/production-runtime/RootRenderSourceBridge.d.ts +2 -0
- package/dist/engine/production-runtime/RootRenderSourceBridge.d.ts.map +1 -0
- package/dist/engine/production-runtime/RootRenderSourceBridge.js +2 -0
- package/dist/engine/production-runtime/RootRenderSourceBridge.js.map +1 -0
- package/dist/engine/production-runtime/TypedGLBActor.d.ts +6 -0
- package/dist/engine/production-runtime/TypedGLBActor.d.ts.map +1 -1
- package/dist/engine/production-runtime/TypedGLBActor.js +13 -0
- package/dist/engine/production-runtime/TypedGLBActor.js.map +1 -1
- package/dist/engine/production-runtime/index.d.ts +2 -0
- package/dist/engine/production-runtime/index.d.ts.map +1 -1
- package/dist/engine/production-runtime/index.js +2 -0
- package/dist/engine/production-runtime/index.js.map +1 -1
- package/dist/input/Haptics.d.ts +1 -1
- package/dist/input/Haptics.js +1 -1
- package/dist/input/InputSystem.d.ts.map +1 -1
- package/dist/input/InputSystem.js +1 -0
- package/dist/input/InputSystem.js.map +1 -1
- package/dist/input/PointerDevice.d.ts +1 -0
- package/dist/input/PointerDevice.d.ts.map +1 -1
- package/dist/input/PointerDevice.js +1 -1
- package/dist/input/PointerDevice.js.map +1 -1
- package/dist/input/controls/OrbitControls.d.ts +44 -1
- package/dist/input/controls/OrbitControls.d.ts.map +1 -1
- package/dist/input/controls/OrbitControls.js +151 -12
- package/dist/input/controls/OrbitControls.js.map +1 -1
- package/dist/lean/base.d.ts +1 -1
- package/dist/lean/base.d.ts.map +1 -1
- package/dist/lean/base.js +1 -1
- package/dist/lean/base.js.map +1 -1
- package/dist/lean/index.js +1 -1
- package/dist/lean/index.js.map +1 -1
- package/dist/navigation-recast/index.d.ts +116 -0
- package/dist/navigation-recast/index.d.ts.map +1 -0
- package/dist/navigation-recast/index.js +247 -0
- package/dist/navigation-recast/index.js.map +1 -0
- package/dist/physics-rapier/HeightfieldLayout.d.ts +12 -0
- package/dist/physics-rapier/HeightfieldLayout.d.ts.map +1 -0
- package/dist/physics-rapier/HeightfieldLayout.js +19 -0
- package/dist/physics-rapier/HeightfieldLayout.js.map +1 -0
- package/dist/physics-rapier/index.d.ts.map +1 -1
- package/dist/physics-rapier/index.js +2 -1
- package/dist/physics-rapier/index.js.map +1 -1
- package/dist/rendering/CascadedShadowMaps.d.ts.map +1 -1
- package/dist/rendering/CascadedShadowMaps.js +3 -1
- package/dist/rendering/CascadedShadowMaps.js.map +1 -1
- package/dist/rendering/ExtensionScalarAtlas.d.ts +18 -0
- package/dist/rendering/ExtensionScalarAtlas.d.ts.map +1 -0
- package/dist/rendering/ExtensionScalarAtlas.js +107 -0
- package/dist/rendering/ExtensionScalarAtlas.js.map +1 -0
- package/dist/rendering/LeanWebGL2Device.d.ts +265 -0
- package/dist/rendering/LeanWebGL2Device.d.ts.map +1 -0
- package/dist/rendering/LeanWebGL2Device.js +4001 -0
- package/dist/rendering/LeanWebGL2Device.js.map +1 -0
- package/dist/rendering/MaterialBinding.js +1 -1
- package/dist/rendering/MaterialBinding.js.map +1 -1
- package/dist/rendering/PlanarReflection.d.ts +2 -2
- package/dist/rendering/PlanarReflection.js +3 -3
- package/dist/rendering/PlanarReflection.js.map +1 -1
- package/dist/rendering/PostProcessPass.d.ts +19 -0
- package/dist/rendering/PostProcessPass.d.ts.map +1 -1
- package/dist/rendering/PostProcessPass.js +64 -32
- package/dist/rendering/PostProcessPass.js.map +1 -1
- package/dist/rendering/ProjectionMath.d.ts +3 -0
- package/dist/rendering/ProjectionMath.d.ts.map +1 -0
- package/dist/rendering/ProjectionMath.js +26 -0
- package/dist/rendering/ProjectionMath.js.map +1 -0
- package/dist/rendering/ReflectionSurfaces.d.ts +4 -1
- package/dist/rendering/ReflectionSurfaces.d.ts.map +1 -1
- package/dist/rendering/ReflectionSurfaces.js +10 -1
- package/dist/rendering/ReflectionSurfaces.js.map +1 -1
- package/dist/rendering/RenderDevice.d.ts +5 -0
- package/dist/rendering/RenderDevice.d.ts.map +1 -1
- package/dist/rendering/RenderDevice.js.map +1 -1
- package/dist/rendering/Renderer.d.ts +9 -0
- package/dist/rendering/Renderer.d.ts.map +1 -1
- package/dist/rendering/Renderer.js +94 -8
- package/dist/rendering/Renderer.js.map +1 -1
- package/dist/rendering/RendererPostprocessPlan.d.ts +16 -3
- package/dist/rendering/RendererPostprocessPlan.d.ts.map +1 -1
- package/dist/rendering/RendererPostprocessPlan.js +16 -2
- package/dist/rendering/RendererPostprocessPlan.js.map +1 -1
- package/dist/rendering/ScreenSpaceReflectionPass.d.ts +43 -0
- package/dist/rendering/ScreenSpaceReflectionPass.d.ts.map +1 -0
- package/dist/rendering/ScreenSpaceReflectionPass.js +58 -0
- package/dist/rendering/ScreenSpaceReflectionPass.js.map +1 -0
- package/dist/rendering/ShaderLibrary.d.ts.map +1 -1
- package/dist/rendering/ShaderLibrary.js +168 -197
- package/dist/rendering/ShaderLibrary.js.map +1 -1
- package/dist/rendering/ShaderLibraryCore.d.ts +3 -0
- package/dist/rendering/ShaderLibraryCore.d.ts.map +1 -1
- package/dist/rendering/ShaderLibraryCore.js +3 -0
- package/dist/rendering/ShaderLibraryCore.js.map +1 -1
- package/dist/rendering/TemporalHistory.d.ts +37 -0
- package/dist/rendering/TemporalHistory.d.ts.map +1 -0
- package/dist/rendering/TemporalHistory.js +135 -0
- package/dist/rendering/TemporalHistory.js.map +1 -0
- package/dist/rendering/TemporalMath.d.ts +3 -0
- package/dist/rendering/TemporalMath.d.ts.map +1 -0
- package/dist/rendering/TemporalMath.js +9 -0
- package/dist/rendering/TemporalMath.js.map +1 -0
- package/dist/rendering/TexturedPBRMaterial.d.ts +3 -0
- package/dist/rendering/TexturedPBRMaterial.d.ts.map +1 -1
- package/dist/rendering/TexturedPBRMaterial.js +65 -3
- package/dist/rendering/TexturedPBRMaterial.js.map +1 -1
- package/dist/rendering/WebGL2Device.d.ts +15 -0
- package/dist/rendering/WebGL2Device.d.ts.map +1 -1
- package/dist/rendering/WebGL2Device.js +328 -90
- package/dist/rendering/WebGL2Device.js.map +1 -1
- package/dist/rendering/WebGPUDevice.d.ts +16 -5
- package/dist/rendering/WebGPUDevice.d.ts.map +1 -1
- package/dist/rendering/WebGPUDevice.js +357 -58
- package/dist/rendering/WebGPUDevice.js.map +1 -1
- package/dist/rendering/WebGPUExtensionAtlas.d.ts +6 -0
- package/dist/rendering/WebGPUExtensionAtlas.d.ts.map +1 -0
- package/dist/rendering/WebGPUExtensionAtlas.js +225 -0
- package/dist/rendering/WebGPUExtensionAtlas.js.map +1 -0
- package/dist/rendering/effects/GPUParticleBackend.d.ts +4 -2
- package/dist/rendering/effects/GPUParticleBackend.d.ts.map +1 -1
- package/dist/rendering/effects/GPUParticleBackend.js +20 -2
- package/dist/rendering/effects/GPUParticleBackend.js.map +1 -1
- package/dist/rendering/effects/ResidentGPUParticleRenderer.d.ts +158 -0
- package/dist/rendering/effects/ResidentGPUParticleRenderer.d.ts.map +1 -0
- package/dist/rendering/effects/ResidentGPUParticleRenderer.js +576 -0
- package/dist/rendering/effects/ResidentGPUParticleRenderer.js.map +1 -0
- package/dist/rendering/extension-scalar-atlas.d.ts +3 -0
- package/dist/rendering/extension-scalar-atlas.d.ts.map +1 -0
- package/dist/rendering/extension-scalar-atlas.js +2 -0
- package/dist/rendering/extension-scalar-atlas.js.map +1 -0
- package/dist/rendering/index.d.ts +1 -0
- package/dist/rendering/index.d.ts.map +1 -1
- package/dist/rendering/index.js +1 -0
- package/dist/rendering/index.js.map +1 -1
- package/dist/rendering/lean/LeanProductionRenderer.d.ts.map +1 -1
- package/dist/rendering/lean/LeanProductionRenderer.js +2 -2
- package/dist/rendering/lean/LeanProductionRenderer.js.map +1 -1
- package/dist/rendering/lean-core-runtime.d.ts +13 -0
- package/dist/rendering/lean-core-runtime.d.ts.map +1 -0
- package/dist/rendering/lean-core-runtime.js +10 -0
- package/dist/rendering/lean-core-runtime.js.map +1 -0
- package/dist/rendering/postprocess/NativeBloomPyramid.d.ts +17 -1
- package/dist/rendering/postprocess/NativeBloomPyramid.d.ts.map +1 -1
- package/dist/rendering/postprocess/NativeBloomPyramid.js +31 -1
- package/dist/rendering/postprocess/NativeBloomPyramid.js.map +1 -1
- package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts +1 -0
- package/dist/rendering/production-runtime/ProductionRendererTypes.d.ts.map +1 -1
- package/dist/rendering/production-runtime/ProductionRendererTypes.js.map +1 -1
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts +3 -0
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.d.ts.map +1 -1
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js +8 -1
- package/dist/rendering/production-runtime/ProductionRuntimeRenderer.js.map +1 -1
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts +4 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.d.ts.map +1 -1
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js +15 -0
- package/dist/rendering/production-runtime/ProductionWebGL2Renderer.js.map +1 -1
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts +7 -1
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.d.ts.map +1 -1
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.js +28 -2
- package/dist/rendering/production-runtime/ProductionWebGPURenderer.js.map +1 -1
- package/dist/rendering/production-runtime/framegraph/FrameGraph.d.ts +4 -2
- package/dist/rendering/production-runtime/framegraph/FrameGraph.d.ts.map +1 -1
- package/dist/rendering/production-runtime/framegraph/FrameGraph.js +62 -4
- package/dist/rendering/production-runtime/framegraph/FrameGraph.js.map +1 -1
- package/dist/rendering/production-runtime/framegraph/NativeFrameGraphBindings.d.ts +32 -0
- package/dist/rendering/production-runtime/framegraph/NativeFrameGraphBindings.d.ts.map +1 -0
- package/dist/rendering/production-runtime/framegraph/NativeFrameGraphBindings.js +111 -0
- package/dist/rendering/production-runtime/framegraph/NativeFrameGraphBindings.js.map +1 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.d.ts +23 -0
- package/dist/rendering/production-runtime/framegraph/RenderPass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/framegraph/RenderPass.js +87 -1
- package/dist/rendering/production-runtime/framegraph/RenderPass.js.map +1 -1
- package/dist/rendering/production-runtime/index.d.ts +2 -0
- package/dist/rendering/production-runtime/index.d.ts.map +1 -1
- package/dist/rendering/production-runtime/index.js +1 -0
- package/dist/rendering/production-runtime/index.js.map +1 -1
- package/dist/rendering/production-runtime/passes/DepthPrepass.d.ts +4 -12
- package/dist/rendering/production-runtime/passes/DepthPrepass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/DepthPrepass.js +3 -11
- package/dist/rendering/production-runtime/passes/DepthPrepass.js.map +1 -1
- package/dist/rendering/production-runtime/passes/FramegraphTopology.js +1 -1
- package/dist/rendering/production-runtime/passes/FramegraphTopology.js.map +1 -1
- package/dist/rendering/production-runtime/passes/OpaquePass.d.ts +3 -8
- package/dist/rendering/production-runtime/passes/OpaquePass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/OpaquePass.js +3 -1
- package/dist/rendering/production-runtime/passes/OpaquePass.js.map +1 -1
- package/dist/rendering/production-runtime/passes/ShadowPass.d.ts +3 -8
- package/dist/rendering/production-runtime/passes/ShadowPass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/ShadowPass.js +2 -0
- package/dist/rendering/production-runtime/passes/ShadowPass.js.map +1 -1
- package/dist/rendering/production-runtime/passes/SkyboxPass.d.ts +3 -7
- package/dist/rendering/production-runtime/passes/SkyboxPass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/SkyboxPass.js +2 -0
- package/dist/rendering/production-runtime/passes/SkyboxPass.js.map +1 -1
- package/dist/rendering/production-runtime/passes/ToneMappingPass.d.ts +7 -10
- package/dist/rendering/production-runtime/passes/ToneMappingPass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/ToneMappingPass.js +9 -0
- package/dist/rendering/production-runtime/passes/ToneMappingPass.js.map +1 -1
- package/dist/rendering/production-runtime/passes/TransparentPass.d.ts +4 -9
- package/dist/rendering/production-runtime/passes/TransparentPass.d.ts.map +1 -1
- package/dist/rendering/production-runtime/passes/TransparentPass.js +6 -1
- package/dist/rendering/production-runtime/passes/TransparentPass.js.map +1 -1
- package/dist/rendering/reflection-surfaces.d.ts +5 -0
- package/dist/rendering/reflection-surfaces.d.ts.map +1 -0
- package/dist/rendering/reflection-surfaces.js +3 -0
- package/dist/rendering/reflection-surfaces.js.map +1 -0
- package/dist/rendering/webgpu/WebGPUPostShaders.d.ts +2 -3
- package/dist/rendering/webgpu/WebGPUPostShaders.d.ts.map +1 -1
- package/dist/rendering/webgpu/WebGPUPostShaders.js +2 -3
- package/dist/rendering/webgpu/WebGPUPostShaders.js.map +1 -1
- package/dist/rendering/webgpu/WebGPUTemporal.d.ts +17 -0
- package/dist/rendering/webgpu/WebGPUTemporal.d.ts.map +1 -0
- package/dist/rendering/webgpu/WebGPUTemporal.js +64 -0
- package/dist/rendering/webgpu/WebGPUTemporal.js.map +1 -0
- package/dist/rendering/webgpu.d.ts +6 -0
- package/dist/rendering/webgpu.d.ts.map +1 -1
- package/dist/rendering/webgpu.js +4 -0
- package/dist/rendering/webgpu.js.map +1 -1
- package/package.json +37 -24
- package/templates/cinematic-scene/package.json +2 -2
- package/templates/cinematic-scene/src/main.ts +14 -2
- package/templates/mini-game/package.json +2 -2
- package/templates/product-viewer/package.json +2 -2
- package/templates/production-asset-inspector/package.json +1 -1
- package/templates/production-material-studio/package.json +1 -1
- package/templates/production-product-configurator/package.json +1 -1
- package/templates/production-product-viewer/package.json +1 -1
- package/templates/cinematic-scene/node_modules/.vite/deps/_metadata.json +0 -8
- package/templates/cinematic-scene/node_modules/.vite/deps/package.json +0 -3
- package/templates/cinematic-scene/test-results/.last-run.json +0 -6
- package/templates/cinematic-scene/test-results/route-health-Aura3D-cinematic-scene-reaches-ready-state/error-context.md +0 -64
- package/templates/product-viewer/node_modules/.vite/deps/_metadata.json +0 -8
- package/templates/product-viewer/node_modules/.vite/deps/package.json +0 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import { type AuraPerformanceQuality } from "./RootRuntimeSupport.js";
|
|
2
|
+
export type { AuraPerformanceQuality } from "./RootRuntimeSupport.js";
|
|
1
3
|
import type { Collider, ColliderDescriptor, CollisionEvent, Constraint, ConstraintDescriptor, Contact, DebugLine, PhysicsBackendSelection, PhysicsContinuousCollisionDescriptor, PhysicsShape, PhysicsSnapshot, PhysicsWorldDescriptor, RaycastHit, RaycastOptions, RigidBody, RigidBodyDescriptor, RigidBodyType, ScenePhysicsNode, SphereCastHit } from "../../physics/index.js";
|
|
2
|
-
import { type SdfTextOcclusionPolicy, type SdfTextStyle, sampleOceanFixture, Geometry, InstancedPBRMaterial, PBRMaterial, TexturedPBRMaterial, type DayNightSkyOptions, type EnvironmentLightingOptions, type WaterSurfaceBoat, type WaterSurfacePreset, type WeatherType, type RenderDeviceDiagnostics, type RendererPostprocessExecutionMode } from "../../rendering/index.js";
|
|
4
|
+
import { type SdfTextOcclusionPolicy, type SdfTextStyle, sampleOceanFixture, Geometry, InstancedPBRMaterial, PBRMaterial, TexturedPBRMaterial, type CollectedLight, type DayNightSkyOptions, type EnvironmentLightingOptions, type WaterSurfaceBoat, type WaterSurfacePreset, type WeatherType, type RenderDeviceDiagnostics, type RendererPostprocessExecutionMode } from "../../rendering/index.js";
|
|
5
|
+
import type { TypedGLBActorEvidence } from "../production-runtime/TypedGLBActor.js";
|
|
3
6
|
import { type LabelTelemetry, type TextBucketSummary } from "./LabelTelemetry.js";
|
|
4
7
|
import { type ProjectedLabel } from "./WorldLabelRenderer.js";
|
|
5
8
|
import { defineAuraCustomGeometry, type AuraCustomGeometrySpec, type AuraText3DGeometry, type AuraText3DOptions } from "./RootGeometry.js";
|
|
@@ -126,7 +129,7 @@ export { createGameAppRuntime, type GameAppRuntime, type GameAppRuntimeEvidence,
|
|
|
126
129
|
export { FrameLoop, createFrameLoop, type FrameLoopCallback, type FrameLoopFrame, type FrameLoopOptions, type FrameLoopSnapshot, type FrameLoopSource } from "./FrameLoop.js";
|
|
127
130
|
export { createCombatWorld, createGameCameraDirector, createGameEffects, applyGameCombatEventsToRuntime, createGameAccessibilityFocus, createGameAccessibilityLabel, createGameAccessibilityRuntimeSettings, createGameHighContrastSource, createGameHudBindings, createGameHudComboBinding, createGameHudDebugToggleBinding, createGameHudHealthBinding, createGameHudMeterBinding, createGameHudRoundBinding, createGameHudSnapshot, createGameHudTimerBinding, createGameBoxCollider, createGameCapsuleCollider, createGameColliderDebugGeometry, createGameCombatDebugGeometry, createGameDebugOverlayData, createGameDebugSceneNodes, createGameHitboxDebugGeometry, createGameSimulation, createGameInput, createGameInputReplay, createGameInputReplayDriver, createGameJumpAssist, createGameKinematicBody, createGamePauseControlsSource, createGameRectCollider, createGameReducedFlashSource, createGameReducedMotionSource, createGameSphereCollider, createGameTouchControlLayout, gameColliderAabb, gameColliders, gameInputReplayEventsAt, createGameLoopPlan, runGameSimulation, type GameAccessibilityFocusOptions, type GameAccessibilityLabelOptions, type GameAccessibilityPauseControlsOptions, type GameAccessibilityPreferenceOptions, type GameAccessibilityRuntimeSettings, type GameAccessibilityRuntimeSettingsOptions, type GameAccessibilitySource, type GameAccessibilitySourceKind, type GameAabb, type GameBounds3, type GameCameraDirector, type GameCameraDirectorOptions, type GameCameraSnapshot, type GameCameraTarget, type GameCollisionAddBodyOptions, type GameCollisionBodyHandle, type GameCollisionBodyOptions, type GameCollisionBodySnapshot, type GameCollisionBox, type GameCollisionContact, type GameCollisionEvent, type GameCollisionParticipant, type GameCollisionQueryFilter, type GameCollisionSweepHit, type GameCollisionSweepOptions, type GameCollisionWorld, type GameCollisionWorldSnapshot, type GameCombatActorOptions, type GameCombatActorSnapshot, type GameCombatActiveAttackSnapshot, type GameCombatEvent, type GameCombatEventRuntimeBridgeOptions, type GameCombatEventRuntimeBridgeResult, type GameCombatEventType, type GameCombatMove, type GameCombatWorld, type GameCombatWorldSnapshot, type GameBoxCollider, type GameBoxColliderOptions, type GameCapsuleCollider, type GameCapsuleColliderOptions, type GameCollider, type GameColliderAxis, type GameColliderBase, type GameColliderDimension, type GameColliderFactoryOptions, type GameColliderKind, type GameColliderPlane, type GameDebugGeometryNode, type GameDebugGeometryOptions, type GameDebugGeometryPrimitive, type GameDebugOverlayData, type GameDebugOverlayMetric, type GameDebugOverlayOptions, type GameDebugOverlaySection, type GameDebugSceneNode, type GameDebugSceneNodeOptions, type GameDebugScenePrimitive, type GameEffectInstance, type GameEffectAttachment, type GameEffectKind, type GameEffectOptions, type GameEffectsController, type GameEffectsSnapshot, type GameEventInput, type GameEventLog, type GameEventLogOptions, type GameEventLogSnapshot, type GameEventRecord, type GameEventSeverity, type GameHudActorBindingOptions, type GameHudBinding, type GameHudBindingKind, type GameHudComboBindingOptions, type GameHudDebugToggleBindingOptions, type GameHudEventLogBindingOptions, type GameHudObjectiveBindingOptions, type GameHudResolvedValue, type GameHudRoundBindingOptions, type GameHudScoreBindingOptions, type GameHudSourceKind, type GameHudSnapshot, type GameHudSnapshotItem, type GameHudSnapshotOptions, type GameHudTimerBindingOptions, type GameHudValueBindingOptions, type GameHudValueFormat, type GameInputActionState, type GameInputAxisSettings, type GameInputAxisBinding, type GameInputController, type GameInputOptions, type GameInputReplayDriver, type GameInputReplayDriverSnapshot, type GameInputReplayEvent, type GameInputReplayOptions, type GameInputReplayPlan, type GameInputSnapshot, type GameJumpAssistController, type GameJumpAssistOptions, type GameJumpAssistSnapshot, type GameJumpAssistUpdate, type GameKinematicBody, type GameKinematicBodyOptions, type GameKinematicBodySnapshot, type GameLoopPlan, type GamePointerSnapshot, type GameRectCollider, type GameRectColliderOptions, type GameRuntimeSubsystemId, type GameRuntimeSubsystemOwnership, type GameSimulation, type GameSimulationFrame, type GameSimulationOptions, type GameSimulationResult, type GameSimulationStepContext, type GameSimulationStepResult, type GameSphereCollider, type GameSphereColliderOptions, type GameSubsystemOwner, type GameTouchControlAnchor, type GameTouchControlKind, type GameTouchControlLayout, type GameTouchControlLayoutOptions, type GameTouchControlRegion, type GameTouchControlRequest, type GameVec3, type GamepadSnapshot } from "./GameRuntime.js";
|
|
128
131
|
export { collectGameSceneRuntimeNodes, createGameSceneBridge, createRuntimeNodeSpec, type GameSceneBridge, type GameSceneBridgeApp, type GameSceneBridgeBodyLike, type GameSceneBridgeEvidence, type GameSceneBridgeNodeHandle, type GameSceneRuntimeNode } from "./GameSceneBridge.js";
|
|
129
|
-
export { calculateRuntimeNodeBounds, createRuntimeNodeEffectAttachment, runtimeNodeHasTag, type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type AuraRuntimeNodeEffectKind, type RuntimeNodeAnimationSpecLike, type RuntimeNodeBoundsInput, type RuntimeNodeHandleLike, type RuntimeNodeMorphTargetWeights, type RuntimeNodeVec3 } from "./RuntimeNodeHandle.js";
|
|
132
|
+
export { calculateRuntimeNodeBounds, createRuntimeNodeEffectAttachment, runtimeNodeHasTag, type AuraRuntimeNodeAnimationPoseBindingMetadata, type AuraRootMotionBinding, type AuraRuntimeNodeAnimationBindingMetadata, type AuraRuntimeNodeBounds, type AuraRuntimeNodeEffectAttachment, type AuraRuntimeNodeEffectKind, type RuntimeNodeAnimationSpecLike, type RuntimeNodeBoundsInput, type RuntimeNodeHandleLike, type RuntimeNodeMorphTargetWeights, type RuntimeNodeVec3 } from "./RuntimeNodeHandle.js";
|
|
130
133
|
export { createFightingGameKit, fighting, fighterRuntimeNode, type FightingActorState, type FightingControls, type FightingGameKit, type FightingGameKitOptions, type FightingGameSnapshot, type FightingStageOptions } from "./game-kits/fighting.js";
|
|
131
134
|
export { gameKits } from "./game-kits/index.js";
|
|
132
135
|
export type { GameRuntimeEvidence, GameRuntimeEvidenceApp, GameRuntimeEvidenceOptions, GameRuntimeSourceEvidence } from "./GameEvidence.js";
|
|
@@ -280,6 +283,16 @@ export interface AuraMaterialSpec {
|
|
|
280
283
|
readonly occlusionStrength?: number;
|
|
281
284
|
/** Emissive map slot: multiplied by `emissive` (default white when only the map is set) × `emissiveIntensity`. */
|
|
282
285
|
readonly emissiveMap?: AuraMaterialTextureInput;
|
|
286
|
+
/** glTF extension maps: data channels are linear; sheen color is sRGB. */
|
|
287
|
+
readonly clearcoatMap?: AuraAssetRef<"texture">;
|
|
288
|
+
readonly clearcoatRoughnessMap?: AuraAssetRef<"texture">;
|
|
289
|
+
readonly clearcoatNormalMap?: AuraAssetRef<"texture">;
|
|
290
|
+
readonly clearcoatNormalScale?: number;
|
|
291
|
+
readonly sheenColorMap?: AuraAssetRef<"texture">;
|
|
292
|
+
readonly sheenRoughnessMap?: AuraAssetRef<"texture">;
|
|
293
|
+
readonly iridescenceMap?: AuraAssetRef<"texture">;
|
|
294
|
+
readonly iridescenceThicknessMap?: AuraAssetRef<"texture">;
|
|
295
|
+
readonly anisotropyMap?: AuraAssetRef<"texture">;
|
|
283
296
|
/**
|
|
284
297
|
* Per-slot UV set selection for the native texCoord selector (muse3jsparity-PRD C1).
|
|
285
298
|
* 0 samples the authored unwrap, 1 the procedural 2x tiling unwrap.
|
|
@@ -290,6 +303,14 @@ export interface AuraMaterialSpec {
|
|
|
290
303
|
readonly metallicRoughness?: 0 | 1;
|
|
291
304
|
readonly occlusion?: 0 | 1;
|
|
292
305
|
readonly emissive?: 0 | 1;
|
|
306
|
+
readonly clearcoat?: 0 | 1;
|
|
307
|
+
readonly clearcoatRoughness?: 0 | 1;
|
|
308
|
+
readonly clearcoatNormal?: 0 | 1;
|
|
309
|
+
readonly sheenColor?: 0 | 1;
|
|
310
|
+
readonly sheenRoughness?: 0 | 1;
|
|
311
|
+
readonly iridescence?: 0 | 1;
|
|
312
|
+
readonly iridescenceThickness?: 0 | 1;
|
|
313
|
+
readonly anisotropy?: 0 | 1;
|
|
293
314
|
};
|
|
294
315
|
/** Per-slot UV transforms, passed through to the native per-slot transform uniforms. */
|
|
295
316
|
readonly texTransforms?: {
|
|
@@ -298,6 +319,14 @@ export interface AuraMaterialSpec {
|
|
|
298
319
|
readonly metallicRoughness?: AuraTextureTransform;
|
|
299
320
|
readonly occlusion?: AuraTextureTransform;
|
|
300
321
|
readonly emissive?: AuraTextureTransform;
|
|
322
|
+
readonly clearcoat?: AuraTextureTransform;
|
|
323
|
+
readonly clearcoatRoughness?: AuraTextureTransform;
|
|
324
|
+
readonly clearcoatNormal?: AuraTextureTransform;
|
|
325
|
+
readonly sheenColor?: AuraTextureTransform;
|
|
326
|
+
readonly sheenRoughness?: AuraTextureTransform;
|
|
327
|
+
readonly iridescence?: AuraTextureTransform;
|
|
328
|
+
readonly iridescenceThickness?: AuraTextureTransform;
|
|
329
|
+
readonly anisotropy?: AuraTextureTransform;
|
|
301
330
|
};
|
|
302
331
|
}
|
|
303
332
|
export interface AuraEditableMaterialParameters {
|
|
@@ -864,6 +893,8 @@ export interface AuraRendererDiagnosticReport {
|
|
|
864
893
|
readonly label?: string;
|
|
865
894
|
readonly nativeShadowMapBindings: number;
|
|
866
895
|
readonly shadowRenderTargetsAllocated: number;
|
|
896
|
+
/** Submitted cascade matrices/point atlas state; null before a real shadow frame. */
|
|
897
|
+
readonly observed: Readonly<Record<string, unknown>> | null;
|
|
867
898
|
readonly contactShadows: number;
|
|
868
899
|
readonly mapType: "pcf-soft";
|
|
869
900
|
/**
|
|
@@ -922,6 +953,8 @@ export interface AuraRendererDiagnosticReport {
|
|
|
922
953
|
readonly passNames: readonly string[];
|
|
923
954
|
readonly warnings: readonly string[];
|
|
924
955
|
readonly nativeInstancedSubmissions: number;
|
|
956
|
+
readonly nativeTemporalPasses?: number;
|
|
957
|
+
readonly nativeTemporalBindings?: number;
|
|
925
958
|
readonly submittedObjects: number;
|
|
926
959
|
readonly visibleObjects: number;
|
|
927
960
|
readonly culledObjects: number;
|
|
@@ -1245,6 +1278,7 @@ export declare const lights: {
|
|
|
1245
1278
|
readonly position?: AuraVec3;
|
|
1246
1279
|
readonly intensity?: number;
|
|
1247
1280
|
readonly color?: AuraColor;
|
|
1281
|
+
readonly shadow?: boolean;
|
|
1248
1282
|
}) => AuraNodeBuilder<AuraLightNode>;
|
|
1249
1283
|
readonly point: (options?: {
|
|
1250
1284
|
readonly name?: string;
|
|
@@ -1299,6 +1333,10 @@ export interface AuraCameraSpec {
|
|
|
1299
1333
|
readonly targetOffset?: AuraVec3;
|
|
1300
1334
|
readonly offsetMode?: "scene" | "target-yaw";
|
|
1301
1335
|
readonly fov?: number;
|
|
1336
|
+
/** Positive near clipping distance in world units; defaults to 0.05. */
|
|
1337
|
+
readonly near?: number;
|
|
1338
|
+
/** Far clipping distance in world units, greater than near; defaults to 100. */
|
|
1339
|
+
readonly far?: number;
|
|
1302
1340
|
readonly distance?: number;
|
|
1303
1341
|
readonly from?: AuraVec3;
|
|
1304
1342
|
readonly to?: AuraVec3;
|
|
@@ -1443,8 +1481,8 @@ export declare const effects: {
|
|
|
1443
1481
|
readonly colorGrade: (options?: Omit<AuraEffectNode, "kind" | "effect">) => AuraNodeBuilder<AuraEffectNode>;
|
|
1444
1482
|
/**
|
|
1445
1483
|
* Root anti-alias node (muse3jsparity-PRD A3). `fxaa` executes natively;
|
|
1446
|
-
* `off` submits nothing; `taa`
|
|
1447
|
-
*
|
|
1484
|
+
* `off` submits nothing; `taa` uses renderer-owned velocity/history for opaque
|
|
1485
|
+
* rigid triangles. Unsupported deforming/transparent geometry emits a named warning.
|
|
1448
1486
|
*/
|
|
1449
1487
|
readonly antiAlias: (options?: Omit<AuraEffectNode, "kind" | "effect">) => AuraNodeBuilder<AuraEffectNode>;
|
|
1450
1488
|
/**
|
|
@@ -1464,8 +1502,8 @@ export declare const effects: {
|
|
|
1464
1502
|
*/
|
|
1465
1503
|
readonly depthOfField: (options?: Omit<AuraEffectNode, "kind" | "effect">) => AuraNodeBuilder<AuraEffectNode>;
|
|
1466
1504
|
/**
|
|
1467
|
-
* Root motion-blur node
|
|
1468
|
-
*
|
|
1505
|
+
* Root motion-blur node: renderer-owned GPU velocity for opaque rigid geometry.
|
|
1506
|
+
* Unsupported deforming/transparent/instanced geometry emits a named warning.
|
|
1469
1507
|
*/
|
|
1470
1508
|
readonly motionBlur: (options?: Omit<AuraEffectNode, "kind" | "effect">) => AuraNodeBuilder<AuraEffectNode>;
|
|
1471
1509
|
readonly rain: (options?: Omit<AuraEffectNode, "kind" | "effect">) => AuraNodeBuilder<AuraEffectNode>;
|
|
@@ -1727,6 +1765,7 @@ interface AuraRendererRuntimeObservation {
|
|
|
1727
1765
|
readonly label?: string;
|
|
1728
1766
|
readonly nativeShadowMapBindings?: number;
|
|
1729
1767
|
readonly shadowRenderTargetsAllocated?: number;
|
|
1768
|
+
readonly observed?: Readonly<Record<string, unknown>> | null;
|
|
1730
1769
|
/**
|
|
1731
1770
|
* N1 authored spot shadow state (muse3jsparity-PRD). `spotPixelBacked`
|
|
1732
1771
|
* requires the device-observed map signals on a spot caster.
|
|
@@ -1763,7 +1802,7 @@ interface AuraRendererRuntimeObservation {
|
|
|
1763
1802
|
readonly evictedEntries: readonly string[];
|
|
1764
1803
|
};
|
|
1765
1804
|
readonly warnings?: readonly string[];
|
|
1766
|
-
readonly deviceDiagnostics?: Pick<RenderDeviceDiagnostics, "nativeInstancedSubmissions" | "submittedObjects" | "visibleObjects" | "culledObjects" | "frustumTestedObjects" | "bloom" | "samplerAnisotropyUploads" | "maxTextureAnisotropy">;
|
|
1805
|
+
readonly deviceDiagnostics?: Pick<RenderDeviceDiagnostics, "nativeTemporalPasses" | "nativeTemporalBindings" | "nativeInstancedSubmissions" | "submittedObjects" | "visibleObjects" | "culledObjects" | "frustumTestedObjects" | "bloom" | "samplerAnisotropyUploads" | "maxTextureAnisotropy">;
|
|
1767
1806
|
readonly lodSelections?: readonly {
|
|
1768
1807
|
readonly nodeName: string;
|
|
1769
1808
|
readonly levelIndex: number;
|
|
@@ -3108,6 +3147,14 @@ export interface AuraRuntimeNodeImportedAssetEvidence {
|
|
|
3108
3147
|
readonly lastFootPlantingTargetError?: number | undefined;
|
|
3109
3148
|
readonly lastFootPlantingHipOffset?: number | undefined;
|
|
3110
3149
|
readonly lastFootPlantingMissingLegs?: readonly string[] | undefined;
|
|
3150
|
+
readonly lastFootPlantingDeformation?: TypedGLBActorEvidence["lastFootPlantingDeformation"];
|
|
3151
|
+
readonly lastFootPlantingSurfaces?: TypedGLBActorEvidence["lastFootPlantingSurfaces"];
|
|
3152
|
+
readonly lastFootPlantingFeet?: readonly {
|
|
3153
|
+
readonly side: "left" | "right";
|
|
3154
|
+
readonly worldPosition: readonly [number, number, number];
|
|
3155
|
+
readonly contactError: number;
|
|
3156
|
+
readonly locked: boolean;
|
|
3157
|
+
}[] | undefined;
|
|
3111
3158
|
readonly footPlantingConfigured?: boolean | undefined;
|
|
3112
3159
|
readonly diagnostics: readonly AuraRuntimeNodeImportedAssetDiagnostic[];
|
|
3113
3160
|
}
|
|
@@ -3140,6 +3187,14 @@ export interface AuraRuntimeNodeImportedAssetEvidenceInput {
|
|
|
3140
3187
|
readonly lastFootPlantingTargetError?: number | undefined;
|
|
3141
3188
|
readonly lastFootPlantingHipOffset?: number | undefined;
|
|
3142
3189
|
readonly lastFootPlantingMissingLegs?: readonly string[] | undefined;
|
|
3190
|
+
readonly lastFootPlantingDeformation?: TypedGLBActorEvidence["lastFootPlantingDeformation"];
|
|
3191
|
+
readonly lastFootPlantingSurfaces?: TypedGLBActorEvidence["lastFootPlantingSurfaces"];
|
|
3192
|
+
readonly lastFootPlantingFeet?: readonly {
|
|
3193
|
+
readonly side: "left" | "right";
|
|
3194
|
+
readonly worldPosition: readonly [number, number, number];
|
|
3195
|
+
readonly contactError: number;
|
|
3196
|
+
readonly locked: boolean;
|
|
3197
|
+
}[] | undefined;
|
|
3143
3198
|
readonly footPlantingConfigured?: boolean | undefined;
|
|
3144
3199
|
readonly requiredClips?: readonly string[] | undefined;
|
|
3145
3200
|
readonly requiredBones?: readonly string[] | undefined;
|
|
@@ -3179,6 +3234,8 @@ export interface AuraApp {
|
|
|
3179
3234
|
*/
|
|
3180
3235
|
readonly physics: AuraPhysicsRuntime;
|
|
3181
3236
|
setScene(scene: AuraSceneBuilder | AuraSceneSnapshot): void;
|
|
3237
|
+
/** Apply native renderer quality between completed frames; rejects unsupported particle owners. */
|
|
3238
|
+
setPerformanceQuality(settings: AuraPerformanceQuality): void;
|
|
3182
3239
|
onFrame(callback: AuraFrameCallback): () => void;
|
|
3183
3240
|
offFrame(callback: AuraFrameCallback): void;
|
|
3184
3241
|
input(options: GameInputOptions): ReturnType<typeof createGameInput>;
|
|
@@ -3241,12 +3298,18 @@ export interface AuraApp {
|
|
|
3241
3298
|
*/
|
|
3242
3299
|
advance(dt?: number): void;
|
|
3243
3300
|
step(dt?: number): void;
|
|
3301
|
+
/** Submit a native asynchronous production frame. Rejects unavailable or disposed renderers. */
|
|
3302
|
+
stepAsync(dt?: number): Promise<void>;
|
|
3303
|
+
/** Wait for pending submissions and release renderer resources. */
|
|
3304
|
+
disposeAsync(): Promise<void>;
|
|
3244
3305
|
diagnostics(): AuraDiagnostics;
|
|
3245
3306
|
evidence(options?: GameRuntimeEvidenceOptions): ReturnType<typeof collectGameRuntimeEvidenceV105>;
|
|
3246
3307
|
screenshot(): AuraScreenshot;
|
|
3247
3308
|
dispose(): void;
|
|
3248
3309
|
}
|
|
3249
3310
|
export interface AuraCreateAppOptions {
|
|
3311
|
+
/** Native asynchronous presentation for the automatic loop; synchronous remains the default. */
|
|
3312
|
+
readonly frameMode?: "sync" | "async";
|
|
3250
3313
|
readonly scene: AuraSceneBuilder | AuraSceneSnapshot;
|
|
3251
3314
|
/**
|
|
3252
3315
|
* Configuration for {@link AuraApp.physics}.
|
|
@@ -3270,6 +3333,12 @@ export interface AuraCreateAppOptions {
|
|
|
3270
3333
|
readonly diagnostics?: boolean | AuraDiagnosticsOptions;
|
|
3271
3334
|
readonly renderer?: AuraCreateAppRendererOptions;
|
|
3272
3335
|
readonly pixelRatio?: number;
|
|
3336
|
+
/**
|
|
3337
|
+
* Native renderer quality applied before the first production frame. Use this
|
|
3338
|
+
* when a known device/capture budget must constrain the initial render; later
|
|
3339
|
+
* changes use {@link AuraApp.setPerformanceQuality} between completed frames.
|
|
3340
|
+
*/
|
|
3341
|
+
readonly performanceQuality?: AuraPerformanceQuality;
|
|
3273
3342
|
readonly autoStart?: boolean;
|
|
3274
3343
|
readonly resize?: boolean;
|
|
3275
3344
|
}
|
|
@@ -3356,6 +3425,8 @@ interface ProductionRuntimePrimitiveResource {
|
|
|
3356
3425
|
* once authored texture refs resolve. Reads prefer this slot.
|
|
3357
3426
|
*/
|
|
3358
3427
|
texturedMaterial: TexturedPBRMaterial | null;
|
|
3428
|
+
/** Owns decoded bitmap and texture resources created by asynchronous upgrade. */
|
|
3429
|
+
textureDisposer?: () => void;
|
|
3359
3430
|
/** C1 upgrade lifecycle: none (no texture inputs) → pending → textured | fallback. */
|
|
3360
3431
|
textureStatus: "none" | "pending" | "textured" | "fallback";
|
|
3361
3432
|
/** Native texture slots bound by the upgrade (subset of baseColor/normal/metallicRoughness). */
|
|
@@ -3387,6 +3458,21 @@ interface ProductionRuntimePrimitiveResource {
|
|
|
3387
3458
|
/** Coarse-to-fine mip-level bytes for the residency funding walk. */
|
|
3388
3459
|
textureMipBytes: readonly number[];
|
|
3389
3460
|
}
|
|
3461
|
+
export declare function resolveNativeBloomRadius(authoredRadius: number | undefined): number;
|
|
3462
|
+
/**
|
|
3463
|
+
* Shadow bias is compared in normalized light-depth space. Directional maps use
|
|
3464
|
+
* an orthographic projection, so their existing scene-radius/texel heuristic is
|
|
3465
|
+
* world-linear. A spot map is perspective: applying that world-space value at
|
|
3466
|
+
* the far end of its cone erased legitimate caster/receiver separation (Aura
|
|
3467
|
+
* Clash measured 0.00147 normalized depth versus the old 0.004 constant bias),
|
|
3468
|
+
* and the default slope term could erase the remainder on a vertical receiver.
|
|
3469
|
+
* Keep the established directional/point policy intact and use a bounded
|
|
3470
|
+
* fraction of one normalized spot-map texel for both perspective terms.
|
|
3471
|
+
*/
|
|
3472
|
+
export declare function resolveProductionRuntimeShadowTuning(kind: CollectedLight["kind"] | undefined, size: number, sceneRadius: number): {
|
|
3473
|
+
readonly bias: number;
|
|
3474
|
+
readonly slopeBias?: number;
|
|
3475
|
+
};
|
|
3390
3476
|
/**
|
|
3391
3477
|
* N1 caster selection (pure, unit-tested): an explicit `shadow: true`
|
|
3392
3478
|
* request wins the single caster slot over unrequested lights; ties and
|
|
@@ -3395,6 +3481,7 @@ interface ProductionRuntimePrimitiveResource {
|
|
|
3395
3481
|
export declare function resolveProductionShadowCasterIndex(descriptors: readonly {
|
|
3396
3482
|
readonly shadowPriority: number;
|
|
3397
3483
|
readonly shadowRequested: boolean;
|
|
3484
|
+
readonly shadowDisabled?: boolean;
|
|
3398
3485
|
readonly intensity: number;
|
|
3399
3486
|
}[]): number;
|
|
3400
3487
|
/**
|
|
@@ -3402,6 +3489,8 @@ export declare function resolveProductionShadowCasterIndex(descriptors: readonly
|
|
|
3402
3489
|
* fetchable urls; procedural inputs have no rasterizer and are reported so
|
|
3403
3490
|
* the caller can warn instead of silently dropping them.
|
|
3404
3491
|
*/
|
|
3492
|
+
declare const ROOT_EXTENSION_TEXTURE_SLOTS: readonly ["clearcoat", "clearcoatRoughness", "clearcoatNormal", "sheenColor", "sheenRoughness", "iridescence", "iridescenceThickness", "anisotropy"];
|
|
3493
|
+
type RootExtensionTextureSlot = typeof ROOT_EXTENSION_TEXTURE_SLOTS[number];
|
|
3405
3494
|
export declare function createProductionPrimitiveTextureIntent(materialSpec: AuraMaterialSpec | undefined): {
|
|
3406
3495
|
readonly baseColorUrl?: string;
|
|
3407
3496
|
readonly normalUrl?: string;
|
|
@@ -3409,6 +3498,12 @@ export declare function createProductionPrimitiveTextureIntent(materialSpec: Aur
|
|
|
3409
3498
|
readonly metalnessUrl?: string;
|
|
3410
3499
|
readonly occlusionUrl?: string;
|
|
3411
3500
|
readonly emissiveUrl?: string;
|
|
3501
|
+
readonly extensionMaps?: Readonly<Partial<Record<RootExtensionTextureSlot, {
|
|
3502
|
+
readonly url: string;
|
|
3503
|
+
readonly colorSpace: "srgb" | "linear";
|
|
3504
|
+
readonly texCoord: 0 | 1;
|
|
3505
|
+
readonly transform?: AuraTextureTransform;
|
|
3506
|
+
}>>>;
|
|
3412
3507
|
readonly proceduralInputs: readonly string[];
|
|
3413
3508
|
};
|
|
3414
3509
|
/**
|
|
@@ -3417,7 +3512,7 @@ export declare function createProductionPrimitiveTextureIntent(materialSpec: Aur
|
|
|
3417
3512
|
* textured, fallback, or skipped — is recorded on the resource with warnings.
|
|
3418
3513
|
* Procedural inputs have no rasterizer: recorded + warned, never faked.
|
|
3419
3514
|
*/
|
|
3420
|
-
export declare function upgradeProductionPrimitiveTextures(entries: readonly ProductionRuntimePrimitiveEntry[], warn: (message: string) => void): Promise<void>;
|
|
3515
|
+
export declare function upgradeProductionPrimitiveTextures(entries: readonly ProductionRuntimePrimitiveEntry[], warn: (message: string) => void, maxTextureSize?: number): Promise<void>;
|
|
3421
3516
|
/**
|
|
3422
3517
|
* B3 post-mount HDRI upgrade (muse3jsparity-PRD). Fetches a Radiance `.hdr`
|
|
3423
3518
|
* asset, runs the HDR→cubemap→GGX-prefilter→BRDF-LUT chain, and returns the
|