@babylonjs/lite-compat 1.39.2 → 1.40.0

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as Vector2, A as Material, B as attachMaterialToScene, C as RegisterPolygonBuilder, D as registerMeshAtStart, E as VertexData, F as PBRMetallicRoughnessMaterial, G as BoundingSphere, H as Observable, I as PBRSheenConfiguration, J as transformNormal, K as Matrix, L as PBRSpecularGlossinessMaterial, M as PBRClearCoatConfiguration, N as PBRIridescenceConfiguration, O as MorphTarget, P as PBRMaterial, Q as liteBackedColor3, R as PushMaterial, S as PolygonBuilder, T as VertexBuffer, U as BoundingBox, V as Node, W as BoundingInfo, X as Color3, Y as Quaternion, Z as Color4, _ as GroundMesh, a as CreateDisc, b as Mesh, c as CreateLines, d as CreatePolygonVertexData, et as Vector3, f as CreateSphere, g as ExtrudePolygon, h as CreateTorus, i as CreateDashedLines, it as unsupported, j as PBRAnisotropicConfiguration, k as MorphTargetManager, l as CreatePlane, m as CreateTiledPlane, n as CreateBox, nt as liteBackedVector3, o as CreateGround, p as CreateTiledBox, q as transformCoordinates, r as CreateCylinder, rt as LiteCompatError, s as CreateLineSystem, t as AbstractMesh, tt as Vector4, u as CreatePolygon, v as InstancedMesh, w as TransformNode, x as MeshBuilder, y as LinesMesh, z as StandardMaterial } from "./meshes-DWnDIh1l.js";
2
- import { CharacterSupportedState as CharacterSupportedState$1, GAUSSIAN_SPLATTING_MAX_PART_COUNT, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, _getGaussianPointSplattingPackedShBytesPerSplat, _hasGaussianPointSplattingProjectedDepth, addAnimationGroup, addBillboardSpriteIndex, addClusteredLightContainer, addComputeDispatch, addFacingBillboardSystem, addPolarToRef, addSphericalToRef, addSprite2DIndex, addToScene, animateParticleSystem, applyPhysicsBodyForce, applyPhysicsBodyImpulse, attachAxisDragGizmoToNode, attachAxisScaleGizmoToNode, attachBoundingBoxGizmoToNode, attachCameraGizmoToCamera, attachControl, attachFreeControl, attachGeospatialControls, attachLightGizmoToLight, attachPlaneDragGizmoToNode, attachPlaneRotationGizmoToNode, attachPositionGizmoToNode, attachRotationGizmoToNode, attachScaleGizmoToNode, backEase, bakeCurrentTransformIntoVertices, bezierCurveEase, billboardBlendAdditive, billboardBlendAlpha, bounceEase, calculatePhysicsCharacterMovementToRef, circleEase, clampGaussianSplattingGpuSortKeyBits, clearAnimationManager, clearBoneOverride, clearStorageBuffer, cloneTransformNode, computeGaussianSplattingGpuSortDepthCoefficients, computeGaussianSplattingGpuSortDepthRange, computeGaussianSplattingGpuSortKeyScale, computeStorageBufferBinding, computeUniformBufferBinding, createAnimationManager, createArcRotateCamera, createAudioBusAsync, createAudioEngineAsync, createAxisDragGizmo, createAxisScaleGizmo, createBankedFreeCamera, createBoundingBoxGizmo, createCameraGizmo, createClusteredLightContainer, createClusteredPointLight, createComputeBindingSet, createComputeDispatch, createComputeIndirectDispatch, createComputeShader, createComputeTask, createCsg2FromMesh, createCsgFromMesh, createCsmDirectionalShadowGenerator, createDefaultCamera, createDefaultMeshBlendRadiusDefinitions, createDirectionalLight, createDynamicTexture, createEngine, createEsmDirectionalShadowGenerator, createExternalTexture, createFacingBillboardSystem, createFreeCamera, createGeospatialCamera, createGpuPicker, createGridMaterial, createHavokWorld, createHemisphericLight, createHtmlTexture, createKhrInteractivityRuntimeValueSnapshot, createLightGizmo, createMeshFromCsg, createMeshesFromCsg2, createMicrophoneSoundSourceAsync, createNullEngine, createParticleBillboard, createPcfDirectionalShadowGenerator, createPcfSpotlightShadowGenerator, createPhysicsAggregate, createPhysicsBody, createPhysicsCharacterController, createPhysicsConstraint, createPhysicsShape, createPickingRay, createPlaneDragGizmo, createPlaneRotationGizmo, createPointLight, createPositionGizmo, createPropertyAnimationClip, createPropertyAnimationGroup, createRectAreaLight, createRotationGizmo, createScaleGizmo, createSceneContext, createSoundAsync, createSoundBufferAsync, createSoundSourceAsync, createSpotLight, createSprite2DLayer, createSpriteRenderer, createStorageBuffer, createStreamingSoundAsync, createTexture2DArray, createTexture2DArrayFromKtx2, createTexture2DArrayFromPixels, createTexture2DArrayFromUrls, createTexture2DFromPixels, createTexture3DFromPixels, createTransformNode, createUniformBuffer, createUtilityLayer, csg2Add, csg2Intersect, csg2Subtract, csgIntersect, csgSubtract, csgUnion, cubicEase, decodeGaussianSplattingGpuSortSogMean, disableGaussianPointSplatting, disableOrthographicCamera, disposeAudioBus, disposeAudioEngine, disposeAxisDragGizmo, disposeAxisScaleGizmo, disposeBoundingBoxGizmo, disposeCameraGizmo, disposeComputeBindingSet, disposeComputeShader, disposeCsg2, disposeEngine, disposeHtmlTexture, disposeLightGizmo, disposePhysics, disposePicker, disposePlaneDragGizmo, disposePlaneRotationGizmo, disposePositionGizmo, disposeRotationGizmo, disposeScaleGizmo, disposeScene, disposeSound, disposeSoundSource, disposeStorageBuffer, disposeStreamingSound, disposeUniformBuffer, disposeUsd, disposeUtilityLayer, dividePolarToRef, divideSphericalToRef, divideTextureProcessConstants, elasticEase, enableAnalyzer, enableAnimationBlending, enableArcRotateKeyboardControls, enableBoneControlForSkinnedAssets, enableGaussianPointSplatting, enableHavokThinInstancePhysicsSync, enableMirroredMeshes, enableOrthographicCamera, enableRectAreaLights, enableSpatial, enableStereo, enableUnsupportedGltfMaterialExtension, encodeIdToColor, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getGaussianSplattingGpuSortPaddedCount, getGaussianSplattingGpuSortPassCount, getGaussianSplattingGpuSorterMaxSplatCount, getGaussianSplattingMaxPartCount, getGaussianSplattingPartIndexVaryingDeclaration, getMasterVolume, getMaterialFamily, getMeshSkeleton, getParticleSystems, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getPickedUV, getProjectionMatrix, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, inverseLerp, invertMat4, isExternalTextureReady, isParticleSystemStarted, loadBabylon, loadBasisTexture2D, loadDdsEnvironment, loadEnvironment, loadGltf, loadHdrEnvironment, loadImageToArrayLayer, loadKtxTexture2D, loadSOG, loadSPZ, loadSplat, loadSpriteAtlas, loadTexture2D, loadUsd, markClusteredLightContainerDirty, multiScatterToSingleScatterAlbedoConstants, multiplyMat4, multiplyPolarToRef, multiplySphericalToRef, normalizeInteractivityEventDataConfiguration, normalizeKhrInteractivityRuntimeValue, onBeforeRender, onEngineDeviceLost, onPhysicsAfterStep, onSceneDispose, packGaussianSplattingGpuSortIntervals, packMeshBlendingTag, parseNodeMaterialFromSnippet, parseNodeParticleSetFromSnippet, pauseAnimation, pauseSound, pauseStreamingSound, physicsRaycast, pickAsync, pickMeshesWithRayPrecise, playAnimation, playSound, playStreamingSound, polarFromVec2ToRef, polarToVec2ToRef, powerEase, preloadStreamingInstanceAsync, preloadStreamingInstancesAsync, processAreaLightTexture, quadraticEase, quarticEase, quinticEase, readStorageBufferAfterFrame, rebuildSceneRenderables, registerNodeParticleSet, registerScene, registerSceneWithShadowSupport, registerSpriteRenderer, registerUtilityLayer, releasePhysicsConstraint, releasePhysicsShape, releaseTexture, removeAnimationGroup, removeFromScene, removePhysicsBody, requestHtmlTextureUpdate, resetSkeletonToRest, resetVariant, resizeEngine, resolveCameraViewport, resumeSound, resumeStreamingSound, sampleCatmullRomSpline, sampleHermiteSpline, scalePolarToRef, scaleSphericalToRef, selectVariant, setAnimationAdditive, setBonePosition, setBoneRotationQuaternion, setBoneScaling, setBusVolume, setClipPlane, setEngineSize, setEnvironmentLightingRotation, setEnvironmentSkyboxRotation, setFog, setGeospatialOrientation, setMasterVolume, setParent, setPhysicsBodyAngularVelocity, setPhysicsBodyLinearVelocity, setPhysicsBodyMassProperties, setPhysicsBodyMotionType, setPhysicsBodyPrestepType, setPhysicsBodyShape, setPhysicsGravity, setPhysicsShapeFilterCollideMask, setPhysicsShapeFilterMembershipMask, setPhysicsShapeIsTrigger, setPhysicsShapeMaterial, setPhysicsTimestep, setPositionGizmoLocalCoordinates, setRotationGizmoLocalCoordinates, setScaleGizmoLocalCoordinates, setShadowTaskCasterMeshes, setSoundSourceVolume, setSoundVolume, setSpatialListener, setSpatialListenerPosition, setSpatialOrientation, setSpatialPosition, setStereoPan, setStreamingSoundVolume, sineEase, singleScatterToMultiScatterAlbedoConstants, sphericalFromVec3ToRef, sphericalToVec3ToRef, spriteBlendAdditive, spriteBlendAlpha, spriteBlendPremultiplied, startEngine, startParticleSystem, stepScene, stopAnimation, stopEngine, stopParticleSystem, stopSound, stopStreamingSound, submitComputeTasks, subtractPolarToRef, subtractSphericalToRef, syncParticleBillboard, temperatureTintToXyz, thinWalledScatterWeightConstants, transmissionFractionConstants, transmissionScatterToSingleScatterAlbedoConstants, unlockAudioEngineAsync, unpackMeshBlendingTag, updateAnimationManager, updateBillboardSpriteIndex, updateDynamicTexture, updateHtmlTexture, updateSpatialAudio, updateSprite2DIndex, updateStorageBufferRange, updateTexture2DArrayFromPixels, updateTexture2DFromPixels, updateUniformBuffer, uploadImageToArrayLayer, whenHtmlTextureReady } from "@babylonjs/lite";
1
+ import { $ as Vector2, A as Material, B as attachMaterialToScene, C as RegisterPolygonBuilder, D as registerMeshAtStart, E as VertexData, F as PBRMetallicRoughnessMaterial, G as BoundingSphere, H as Observable, I as PBRSheenConfiguration, J as transformNormal, K as Matrix, L as PBRSpecularGlossinessMaterial, M as PBRClearCoatConfiguration, N as PBRIridescenceConfiguration, O as MorphTarget, P as PBRMaterial, Q as liteBackedColor3, R as PushMaterial, S as PolygonBuilder, T as VertexBuffer, U as BoundingBox, V as Node, W as BoundingInfo, X as Color3, Y as Quaternion, Z as Color4, _ as GroundMesh, a as CreateDisc, b as Mesh, c as CreateLines, d as CreatePolygonVertexData, et as Vector3, f as CreateSphere, g as ExtrudePolygon, h as CreateTorus, i as CreateDashedLines, it as unsupported, j as PBRAnisotropicConfiguration, k as MorphTargetManager, l as CreatePlane, m as CreateTiledPlane, n as CreateBox, nt as liteBackedVector3, o as CreateGround, p as CreateTiledBox, q as transformCoordinates, r as CreateCylinder, rt as LiteCompatError, s as CreateLineSystem, t as AbstractMesh, tt as Vector4, u as CreatePolygon, v as InstancedMesh, w as TransformNode, x as MeshBuilder, y as LinesMesh, z as StandardMaterial } from "./meshes-CdVN59oi.js";
2
+ import { CharacterSupportedState as CharacterSupportedState$1, GAUSSIAN_SPLATTING_MAX_PART_COUNT, MaxTintMagnitude, MinTemperatureKelvin, PhysicsConstraintAxis as PhysicsConstraintAxis$1, PhysicsConstraintType as PhysicsConstraintType$1, PhysicsMotionType as PhysicsMotionType$1, PhysicsPrestepType as PhysicsPrestepType$1, PhysicsShapeType as PhysicsShapeType$1, VERSION, _getGaussianPointSplattingPackedShBytesPerSplat, _hasGaussianPointSplattingProjectedDepth, addAnimationGroup, addBillboardSpriteIndex, addBillboardSystemToScene, addClusteredLightContainer, addComputeDispatch, addPolarToRef, addSphericalToRef, addSprite2DIndex, addToScene, animateParticleSystem, applyPhysicsBodyForce, applyPhysicsBodyImpulse, attachAxisDragGizmoToNode, attachAxisScaleGizmoToNode, attachBoundingBoxGizmoToNode, attachCameraGizmoToCamera, attachControl, attachFreeControl, attachGeospatialControls, attachLightGizmoToLight, attachPlaneDragGizmoToNode, attachPlaneRotationGizmoToNode, attachPositionGizmoToNode, attachRotationGizmoToNode, attachScaleGizmoToNode, attachSceneSsaoPipeline, backEase, bakeCurrentTransformIntoVertices, bezierCurveEase, billboardBlendAdditive, billboardBlendAlpha, bounceEase, calculatePhysicsCharacterMovementToRef, circleEase, clampGaussianSplattingGpuSortKeyBits, clearAnimationManager, clearBoneOverride, clearStorageBuffer, cloneTransformNode, computeGaussianSplattingGpuSortDepthCoefficients, computeGaussianSplattingGpuSortDepthRange, computeGaussianSplattingGpuSortKeyScale, computeStorageBufferBinding, computeUniformBufferBinding, createAnimationManager, createArcRotateCamera, createAudioBusAsync, createAudioEngineAsync, createAxisDragGizmo, createAxisScaleGizmo, createBankedFreeCamera, createBoundingBoxGizmo, createCameraGizmo, createClusteredLightContainer, createClusteredPointLight, createComputeBindingSet, createComputeDispatch, createComputeIndirectDispatch, createComputeShader, createComputeTask, createCsg2FromMesh, createCsgFromMesh, createCsmDirectionalShadowGenerator, createDefaultCamera, createDefaultMeshBlendRadiusDefinitions, createDirectionalLight, createDynamicTexture, createEngine, createEsmDirectionalShadowGenerator, createExternalTexture, createFacingBillboardSystem, createFreeCamera, createGeospatialCamera, createGpuPicker, createGridMaterial, createHavokWorld, createHemisphericLight, createHtmlTexture, createKhrInteractivityRuntimeValueSnapshot, createLightGizmo, createMeshFromCsg, createMeshesFromCsg2, createMicrophoneSoundSourceAsync, createNullEngine, createParticleBillboard, createPcfDirectionalShadowGenerator, createPcfSpotlightShadowGenerator, createPhysicsAggregate, createPhysicsBody, createPhysicsCharacterController, createPhysicsConstraint, createPhysicsShape, createPickingRay, createPlaneDragGizmo, createPlaneRotationGizmo, createPointLight, createPositionGizmo, createPropertyAnimationClip, createPropertyAnimationGroup, createRectAreaLight, createRotationGizmo, createScaleGizmo, createSceneContext, createSceneSsaoPipeline, createSoundAsync, createSoundBufferAsync, createSoundSourceAsync, createSpotLight, createSprite2DLayer, createSpriteRenderer, createStorageBuffer, createStreamingSoundAsync, createTexture2DArray, createTexture2DArrayFromKtx2, createTexture2DArrayFromPixels, createTexture2DArrayFromUrls, createTexture2DFromPixels, createTexture3DFromPixels, createTransformNode, createUniformBuffer, createUtilityLayer, csg2Add, csg2Intersect, csg2Subtract, csgIntersect, csgSubtract, csgUnion, cubicEase, decodeGaussianSplattingGpuSortSogMean, detachSceneSsaoPipeline, disableGaussianPointSplatting, disableOrthographicCamera, disposeAudioBus, disposeAudioEngine, disposeAxisDragGizmo, disposeAxisScaleGizmo, disposeBoundingBoxGizmo, disposeCameraGizmo, disposeComputeBindingSet, disposeComputeShader, disposeCsg2, disposeEngine, disposeHtmlTexture, disposeLightGizmo, disposePhysics, disposePicker, disposePlaneDragGizmo, disposePlaneRotationGizmo, disposePositionGizmo, disposeRotationGizmo, disposeScaleGizmo, disposeScene, disposeSceneSsaoPipeline, disposeSound, disposeSoundSource, disposeStorageBuffer, disposeStreamingSound, disposeUniformBuffer, disposeUsd, disposeUtilityLayer, dividePolarToRef, divideSphericalToRef, divideTextureProcessConstants, elasticEase, enableAnalyzer, enableAnimationBlending, enableArcRotateKeyboardControls, enableBoneControlForSkinnedAssets, enableGaussianPointSplatting, enableHavokThinInstancePhysicsSync, enableMirroredMeshes, enableOrthographicCamera, enableRectAreaLights, enableSpatial, enableStereo, enableUnsupportedGltfMaterialExtension, encodeIdToColor, exponentialEase, getBoneByName, getByteFrequencyData, getByteTimeDomainData, getCameraPosition, getFloatFrequencyData, getFloatTimeDomainData, getGaussianSplattingGpuSortPaddedCount, getGaussianSplattingGpuSortPassCount, getGaussianSplattingGpuSorterMaxSplatCount, getGaussianSplattingMaxPartCount, getGaussianSplattingPartIndexVaryingDeclaration, getMasterVolume, getMaterialFamily, getMeshSkeleton, getParticleSystems, getPhysicsBodyAngularVelocity, getPhysicsBodyLinearVelocity, getPickedUV, getProjectionMatrix, getTextureReadbackInfo, getVariantNames, getViewMatrix, getWhiteBalanceMatrix, goToFrame, hasDefaultInteractivityFlowInput, initializeCsg2Async, inverseLerp, invertMat4, isExternalTextureReady, isParticleSystemStarted, loadBabylon, loadBasisTexture2D, loadDdsEnvironment, loadEnvironment, loadGltf, loadHdrEnvironment, loadImageToArrayLayer, loadKtxTexture2D, loadSOG, loadSPZ, loadSplat, loadSpriteAtlas, loadTexture2D, loadUsd, markClusteredLightContainerDirty, multiScatterToSingleScatterAlbedoConstants, multiplyMat4, multiplyPolarToRef, multiplySphericalToRef, normalizeInteractivityEventDataConfiguration, normalizeKhrInteractivityRuntimeValue, onBeforeRender, onEngineDeviceLost, onPhysicsAfterStep, onSceneDispose, packGaussianSplattingGpuSortIntervals, packMeshBlendingTag, parseNodeMaterialFromSnippet, parseNodeParticleSetFromSnippet, pauseAnimation, pauseSound, pauseStreamingSound, physicsRaycast, pickAsync, pickMeshesWithRayPrecise, playAnimation, playSound, playStreamingSound, polarFromVec2ToRef, polarToVec2ToRef, powerEase, preloadStreamingInstanceAsync, preloadStreamingInstancesAsync, processAreaLightTexture, quadraticEase, quarticEase, quinticEase, readStorageBufferAfterFrame, readTexturePixelsRGBA8, rebuildSceneRenderables, registerNodeParticleSet, registerScene, registerSceneWithShadowSupport, registerSpriteRenderer, registerUtilityLayer, releasePhysicsConstraint, releasePhysicsShape, releaseTexture, removeAnimationGroup, removeFromScene, removePhysicsBody, requestHtmlTextureUpdate, resetSkeletonToRest, resetVariant, resizeEngine, resolveCameraViewport, resumeSound, resumeStreamingSound, sampleCatmullRomSpline, sampleHermiteSpline, scalePolarToRef, scaleSphericalToRef, selectVariant, setAnimationAdditive, setBonePosition, setBoneRotationQuaternion, setBoneScaling, setBusVolume, setClipPlane, setEngineSize, setEnvironmentLightingRotation, setEnvironmentSkyboxRotation, setFog, setGeospatialOrientation, setMasterVolume, setParent, setPhysicsBodyAngularVelocity, setPhysicsBodyLinearVelocity, setPhysicsBodyMassProperties, setPhysicsBodyMotionType, setPhysicsBodyPrestepType, setPhysicsBodyShape, setPhysicsGravity, setPhysicsShapeFilterCollideMask, setPhysicsShapeFilterMembershipMask, setPhysicsShapeIsTrigger, setPhysicsShapeMaterial, setPhysicsTimestep, setPositionGizmoLocalCoordinates, setRotationGizmoLocalCoordinates, setScaleGizmoLocalCoordinates, setShadowTaskCasterMeshes, setSoundSourceVolume, setSoundVolume, setSpatialListener, setSpatialListenerPosition, setSpatialOrientation, setSpatialPosition, setStereoPan, setStreamingSoundVolume, sineEase, singleScatterToMultiScatterAlbedoConstants, sphericalFromVec3ToRef, sphericalToVec3ToRef, spriteBlendAdditive, spriteBlendAlpha, spriteBlendPremultiplied, startEngine, startParticleSystem, stepScene, stopAnimation, stopEngine, stopParticleSystem, stopSound, stopStreamingSound, submitComputeTasks, subtractPolarToRef, subtractSphericalToRef, syncParticleBillboard, temperatureTintToXyz, thinWalledScatterWeightConstants, transmissionFractionConstants, transmissionScatterToSingleScatterAlbedoConstants, unlockAudioEngineAsync, unpackMeshBlendingTag, updateAnimationManager, updateBillboardSpriteIndex, updateDynamicTexture, updateHtmlTexture, updateSpatialAudio, updateSprite2DIndex, updateStorageBufferRange, updateTexture2DArrayFromPixels, updateTexture2DFromPixels, updateUniformBuffer, uploadImageToArrayLayer, whenHtmlTextureReady } from "@babylonjs/lite";
3
3
  // \0rolldown/runtime.js
4
4
  var __defProp = Object.defineProperty;
5
5
  var __exportAll = (all, no_symbols) => {
@@ -836,6 +836,14 @@ var PrecisionDate = { get Now() {
836
836
  * hood (Lite must register scenes before the first frame); `runRenderLoop`
837
837
  * returns immediately and rendering begins on a subsequent tick.
838
838
  */
839
+ var lastCreatedEngine = null;
840
+ /** @internal Last compat engine constructed in this realm, matching Babylon.js EngineStore support checks. */
841
+ function _getLastCreatedEngine() {
842
+ return lastCreatedEngine;
843
+ }
844
+ function setLastCreatedEngine(engine) {
845
+ lastCreatedEngine = engine;
846
+ }
839
847
  /**
840
848
  * Late work (utility-layer registration) is best-effort: it must never fail engine startup, and it
841
849
  * runs from two places — folded into `_startCore` when registered before startup completes, and
@@ -935,6 +943,7 @@ var AbstractEngine = class {
935
943
  /** @internal Stop revision captured by the outermost scene mutation pause. */
936
944
  _sceneMutationPauseRevision = 0;
937
945
  constructor(canvas, options) {
946
+ setLastCreatedEngine(this);
938
947
  this._canvas = canvas;
939
948
  const opts = typeof options === "object" ? { ...options } : options === false ? { msaaSamples: 1 } : void 0;
940
949
  this.useReverseDepthBuffer = opts?.useReverseDepthBuffer ?? false;
@@ -1151,6 +1160,7 @@ var AbstractEngine = class {
1151
1160
  this._unsubscribeDeviceLost?.();
1152
1161
  this._unsubscribeDeviceLost = null;
1153
1162
  if (this._initialized) disposeEngine(this._lite);
1163
+ if (lastCreatedEngine === this) lastCreatedEngine = null;
1154
1164
  }
1155
1165
  /** Babylon.js manual frame-pump entry point — unsupported (Lite's frame graph owns the frame). */
1156
1166
  beginFrame() {
@@ -4836,7 +4846,7 @@ var Bone = class Bone {
4836
4846
  * objects), which the standalone functions `startParticleSystem` /
4837
4847
  * `animateParticleSystem` / `stopParticleSystem` drive, and
4838
4848
  * `createParticleBillboard` / `syncParticleBillboard` /
4839
- * `addFacingBillboardSystem` render as camera-facing billboards. So the compat
4849
+ * `addBillboardSystemToScene` render as camera-facing billboards. So the compat
4840
4850
  * wrapper's **runtime subset** (`start` / `animate` / `stop` / `updateSpeed` /
4841
4851
  * `particleTexture` / `preWarmStepOffset`) forwards to those Lite functions,
4842
4852
  * while the imperative constructor throws — there is no Lite graph to author.
@@ -4995,10 +5005,65 @@ var ParticleSystem = class ParticleSystem {
4995
5005
  if (!lite.texture) return;
4996
5006
  const billboard = createParticleBillboard(lite);
4997
5007
  syncParticleBillboard(lite, billboard);
4998
- addFacingBillboardSystem(scene._lite, billboard);
5008
+ addBillboardSystemToScene(scene._lite, billboard);
4999
5009
  });
5000
5010
  }
5001
5011
  };
5012
+ // src/post-processes/post-process-render-pipeline-manager.ts
5013
+ /** Babylon.js-compatible post-process pipeline registry for native Lite-backed pipelines. */
5014
+ var PostProcessRenderPipelineManager = class {
5015
+ _renderPipelines = /* @__PURE__ */ new Map();
5016
+ _onNewPipelineAddedObservable = new Observable();
5017
+ _onPipelineRemovedObservable = new Observable();
5018
+ get onNewPipelineAddedObservable() {
5019
+ return this._onNewPipelineAddedObservable;
5020
+ }
5021
+ get onPipelineRemovedObservable() {
5022
+ return this._onPipelineRemovedObservable;
5023
+ }
5024
+ get supportedPipelines() {
5025
+ return [...this._renderPipelines.values()].filter((pipeline) => pipeline.isSupported);
5026
+ }
5027
+ addPipeline(renderPipeline) {
5028
+ this.removePipeline(renderPipeline._name);
5029
+ this._renderPipelines.set(renderPipeline._name, renderPipeline);
5030
+ this._onNewPipelineAddedObservable.notifyObservers(renderPipeline);
5031
+ }
5032
+ removePipeline(renderPipelineName) {
5033
+ const pipeline = this._renderPipelines.get(renderPipelineName);
5034
+ if (!pipeline) return;
5035
+ this._onPipelineRemovedObservable.notifyObservers(pipeline);
5036
+ this._renderPipelines.delete(renderPipelineName);
5037
+ }
5038
+ attachCamerasToRenderPipeline(renderPipelineName, cameras, unique = false) {
5039
+ this._renderPipelines.get(renderPipelineName)?._attachCameras(cameras, unique);
5040
+ }
5041
+ detachCamerasFromRenderPipeline(renderPipelineName, cameras) {
5042
+ this._renderPipelines.get(renderPipelineName)?._detachCameras(cameras);
5043
+ }
5044
+ enableEffectInPipeline(renderPipelineName, renderEffectName, cameras) {
5045
+ this._renderPipelines.get(renderPipelineName)?._enableEffect(renderEffectName, cameras);
5046
+ }
5047
+ disableEffectInPipeline(renderPipelineName, renderEffectName, cameras) {
5048
+ this._renderPipelines.get(renderPipelineName)?._disableEffect(renderEffectName, cameras);
5049
+ }
5050
+ update() {
5051
+ for (const [name, pipeline] of this._renderPipelines) if (!pipeline.isSupported) {
5052
+ pipeline.dispose();
5053
+ this._renderPipelines.delete(name);
5054
+ } else pipeline._update();
5055
+ }
5056
+ /** @internal */
5057
+ _rebuild() {
5058
+ for (const pipeline of this._renderPipelines.values()) pipeline._rebuild();
5059
+ }
5060
+ dispose() {
5061
+ for (const pipeline of [...this._renderPipelines.values()]) pipeline.dispose();
5062
+ this._renderPipelines.clear();
5063
+ this._onNewPipelineAddedObservable.clear();
5064
+ this._onPipelineRemovedObservable.clear();
5065
+ }
5066
+ };
5002
5067
  // src/scene/scene.ts
5003
5068
  /**
5004
5069
  * Babylon.js-compatible `Scene` implemented over a Babylon Lite `SceneContext`.
@@ -5144,6 +5209,7 @@ var Scene = class Scene extends AbstractScene {
5144
5209
  _ambientColor = new Color3(0, 0, 0);
5145
5210
  _environmentIntensity = 1;
5146
5211
  _imageProcessingConfiguration = null;
5212
+ _postProcessRenderPipelineManager = null;
5147
5213
  /** @internal Tracks whether at least one frame has ticked (gates `onAfterRenderObservable`). */
5148
5214
  _renderedAFrame = false;
5149
5215
  /** @internal `NodeMaterial`s whose async parse the engine drives after shadow generators are built. */
@@ -5261,6 +5327,10 @@ var Scene = class Scene extends AbstractScene {
5261
5327
  getEngine() {
5262
5328
  return this._engine;
5263
5329
  }
5330
+ get postProcessRenderPipelineManager() {
5331
+ this._postProcessRenderPipelineManager ??= new PostProcessRenderPipelineManager();
5332
+ return this._postProcessRenderPipelineManager;
5333
+ }
5264
5334
  /** Babylon.js `scene.getClassName()`. */
5265
5335
  getClassName() {
5266
5336
  return "Scene";
@@ -6043,6 +6113,7 @@ var Scene = class Scene extends AbstractScene {
6043
6113
  runCleanup(() => this._beforeRenderFlushCallbacks.clear());
6044
6114
  if (this._propertyAnimationManager) runCleanup(() => clearAnimationManager(this._propertyAnimationManager));
6045
6115
  if (this._blendManager) runCleanup(() => clearAnimationManager(this._blendManager));
6116
+ if (this._postProcessRenderPipelineManager) runCleanup(() => this._postProcessRenderPipelineManager.dispose());
6046
6117
  this._runningAnimatables.length = 0;
6047
6118
  runCleanup(() => this._skeletons.splice(0));
6048
6119
  runCleanup(() => this._skeletonCache.clear());
@@ -7119,6 +7190,8 @@ var BaseTexture = class {
7119
7190
  }
7120
7191
  /** @internal The underlying Lite texture handle. Undefined until the async load resolves. */
7121
7192
  _lite;
7193
+ /** @internal Engine used by the optional GPU readback adapter. */
7194
+ _readbackEngine;
7122
7195
  /** @internal One-shot listeners fired when the GPU handle first resolves (see {@link _onReady}). */
7123
7196
  _readyListeners;
7124
7197
  getClassName() {
@@ -7161,6 +7234,34 @@ var BaseTexture = class {
7161
7234
  getInternalTexture() {
7162
7235
  return this._lite ?? null;
7163
7236
  }
7237
+ readPixels(faceIndex = 0, level = 0, buffer = null, _flushRenderer = true, _noDataConversion = false, x = 0, y = 0, width = Number.MAX_VALUE, height = Number.MAX_VALUE) {
7238
+ const texture = this._lite;
7239
+ const engine = this._readbackEngine;
7240
+ if (!texture || !engine) return null;
7241
+ const info = getTextureReadbackInfo(texture);
7242
+ const selection = info.kind === "cube" ? { face: faceIndex } : info.kind === "2d-array" ? { layer: faceIndex } : {};
7243
+ return readTexturePixelsRGBA8(engine, texture, {
7244
+ mipLevel: level,
7245
+ ...selection
7246
+ }).then((result) => {
7247
+ if (!Number.isInteger(x) || !Number.isInteger(y) || x < 0 || y < 0 || x >= result.width || y >= result.height) throw new RangeError(`BaseTexture.readPixels: origin (${x}, ${y}) is outside ${result.width}x${result.height}`);
7248
+ const readWidth = Math.min(result.width, width);
7249
+ const readHeight = Math.min(result.height, height);
7250
+ if (x + readWidth > result.width || y + readHeight > result.height) throw new RangeError(`BaseTexture.readPixels: region (${x}, ${y}, ${readWidth}, ${readHeight}) exceeds ${result.width}x${result.height}`);
7251
+ const rowBytes = readWidth * 4;
7252
+ const pixels = x === 0 && y === 0 && readWidth === result.width && readHeight === result.height ? result.pixels : new Uint8Array(rowBytes * readHeight);
7253
+ if (pixels !== result.pixels) for (let row = 0; row < readHeight; row++) {
7254
+ const start = ((y + row) * result.width + x) * 4;
7255
+ pixels.set(result.pixels.subarray(start, start + rowBytes), row * rowBytes);
7256
+ }
7257
+ if (buffer) {
7258
+ const data = new Uint8Array(buffer.buffer);
7259
+ data.set(pixels.subarray(0, Math.min(data.byteLength, pixels.byteLength)));
7260
+ return data;
7261
+ }
7262
+ return pixels;
7263
+ });
7264
+ }
7164
7265
  dispose() {
7165
7266
  this._levelListeners = void 0;
7166
7267
  }
@@ -7180,6 +7281,7 @@ var HtmlTexture = class extends BaseTexture {
7180
7281
  this.name = name;
7181
7282
  this.element = element;
7182
7283
  this._engine = options.scene?.getEngine() ?? options.engine ?? null;
7284
+ this._readbackEngine = this._engine?._lite;
7183
7285
  this.host = this._engine?.getRenderingCanvas() ?? null;
7184
7286
  if (!this._engine || !element) {
7185
7287
  this._ready = Promise.reject(/* @__PURE__ */ new Error("HtmlTexture requires an engine and HTML element."));
@@ -7260,9 +7362,18 @@ var Texture = class Texture extends BaseTexture {
7260
7362
  samplingMode;
7261
7363
  /** @internal The Scene or engine this texture was created against (for `clone`). */
7262
7364
  _source;
7365
+ /** @internal The image URL, kept separate from the public name so custom names survive replacement. */
7366
+ _url;
7367
+ /** @internal The owning Lite engine, used to reject cross-engine image replacement. */
7368
+ _engine;
7369
+ /** @internal The owning scene; Babylon.js rejects image replacement on engine-only textures. */
7370
+ _scene;
7371
+ /** @internal Upload flip actually passed to Lite; engine-only loads use Lite's default. */
7372
+ _effectiveInvertY;
7263
7373
  constructor(url, sceneOrEngine, noMipmapOrOptions, invertY, _samplingMode, onLoad) {
7264
7374
  super();
7265
7375
  this.name = url;
7376
+ this._url = url;
7266
7377
  let noMipmap = false;
7267
7378
  let invertYOpt = invertY;
7268
7379
  let samplingMode = _samplingMode;
@@ -7278,8 +7389,11 @@ var Texture = class Texture extends BaseTexture {
7278
7389
  this.samplingMode = samplingMode ?? Texture.BILINEAR_SAMPLINGMODE;
7279
7390
  this._source = sceneOrEngine;
7280
7391
  const scene = sceneOrEngine.getEngine ? sceneOrEngine : void 0;
7392
+ this._scene = scene;
7281
7393
  const engineWrapper = scene ? void 0 : sceneOrEngine;
7282
7394
  const engine = scene ? scene.getEngine()._lite : engineWrapper._lite;
7395
+ this._engine = engine;
7396
+ this._readbackEngine = engine;
7283
7397
  const filterOpts = this.samplingMode === Texture.NEAREST_SAMPLINGMODE || this.samplingMode === Texture.NEAREST_NEAREST ? {
7284
7398
  minFilter: "nearest",
7285
7399
  magFilter: "nearest"
@@ -7289,6 +7403,7 @@ var Texture = class Texture extends BaseTexture {
7289
7403
  mipMaps: !this._noMipmap,
7290
7404
  ...filterOpts
7291
7405
  } : {};
7406
+ this._effectiveInvertY = scene ? this._invertY : true;
7292
7407
  this._ready = loadCompatTexture(engine, url, loadOpts).then((tex) => {
7293
7408
  this._lite = tex;
7294
7409
  try {
@@ -7313,7 +7428,8 @@ var Texture = class Texture extends BaseTexture {
7313
7428
  * handle (tracked against the same scene so it is ready at build).
7314
7429
  */
7315
7430
  clone() {
7316
- const c = new Texture(this.name, this._source, this._noMipmap, this._invertY, this.samplingMode);
7431
+ const c = new Texture(this._url, this._source, this._noMipmap, this._invertY, this.samplingMode);
7432
+ c.name = this.name;
7317
7433
  c.uScale = this.uScale;
7318
7434
  c.vScale = this.vScale;
7319
7435
  c.uOffset = this.uOffset;
@@ -7322,6 +7438,23 @@ var Texture = class Texture extends BaseTexture {
7322
7438
  c.coordinatesIndex = this.coordinatesIndex;
7323
7439
  return c;
7324
7440
  }
7441
+ /**
7442
+ * Babylon.js `Texture.replaceImage` — reuse another ready URL texture's Lite
7443
+ * handle without reloading it. Wrapper UV state remains local; loading state
7444
+ * follows the source so later clones resolve the same image.
7445
+ */
7446
+ replaceImage(source) {
7447
+ if (source === this) return true;
7448
+ if (this.constructor !== Texture || source.constructor !== Texture || !this._scene || !this._lite || !source._lite || this._engine !== source._engine || this._effectiveInvertY !== source._effectiveInvertY) return false;
7449
+ const nameFollowedUrl = this.name === this._url;
7450
+ this._lite = source._lite;
7451
+ this._url = source._url;
7452
+ if (nameFollowedUrl) this.name = source._url;
7453
+ this._noMipmap = source._noMipmap;
7454
+ this.samplingMode = source.samplingMode;
7455
+ for (const material of this._scene.materials) if (material.getActiveTextures().includes(this)) material._refreshInScene();
7456
+ return true;
7457
+ }
7325
7458
  whenReadyAsync() {
7326
7459
  return this._ready;
7327
7460
  }
@@ -7359,7 +7492,8 @@ var RawTexture = class RawTexture extends BaseTexture {
7359
7492
  constructor(data, width, height, scene) {
7360
7493
  super();
7361
7494
  this._scene = scene;
7362
- this._lite = createTexture2DFromPixels(scene.getEngine()._lite, data, width, height);
7495
+ this._readbackEngine = scene.getEngine()._lite;
7496
+ this._lite = createTexture2DFromPixels(this._readbackEngine, data, width, height);
7363
7497
  }
7364
7498
  getClassName() {
7365
7499
  return "RawTexture";
@@ -7395,8 +7529,9 @@ var RawTexture3D = class extends BaseTexture {
7395
7529
  this.format = format;
7396
7530
  if (generateMipMaps) unsupported("RawTexture3D(generateMipMaps)", "Babylon.js 3D mip generation renders every depth slice of every level and requires a mip-capable 3D allocation plus a dedicated shader/pipeline. Babylon Lite's public 3D texture factory allocates only one level; adding this GPU subsystem is not a small mechanical extension. Pass false to create a base-level texture.");
7397
7531
  this._scene = scene;
7532
+ this._readbackEngine = scene.getEngine()._lite;
7398
7533
  const bytes = toRgbaBytes(data, width, height, depth);
7399
- this._lite = createTexture3DFromPixels(scene.getEngine()._lite, bytes, width, height, depth);
7534
+ this._lite = createTexture3DFromPixels(this._readbackEngine, bytes, width, height, depth);
7400
7535
  }
7401
7536
  getClassName() {
7402
7537
  return "RawTexture3D";
@@ -7459,6 +7594,7 @@ var DynamicTexture = class extends BaseTexture {
7459
7594
  super();
7460
7595
  this.name = name;
7461
7596
  this._scene = scene;
7597
+ this._readbackEngine = scene.getEngine()._lite;
7462
7598
  this._width = options.width;
7463
7599
  this._height = options.height;
7464
7600
  this._canvas = document.createElement("canvas");
@@ -7467,7 +7603,7 @@ var DynamicTexture = class extends BaseTexture {
7467
7603
  const ctx = this._canvas.getContext("2d");
7468
7604
  if (!ctx) throw new Error("DynamicTexture: 2D canvas context unavailable.");
7469
7605
  this._context = ctx;
7470
- this._dyn = createDynamicTexture(scene.getEngine()._lite, options.width, options.height);
7606
+ this._dyn = createDynamicTexture(this._readbackEngine, options.width, options.height);
7471
7607
  this._lite = this._dyn;
7472
7608
  }
7473
7609
  getClassName() {
@@ -7633,9 +7769,10 @@ var RenderTargetTexture = class {
7633
7769
  };
7634
7770
  // src/lights/area-light-texture-tools.ts
7635
7771
  var ProcessedAreaLightTexture = class extends BaseTexture {
7636
- constructor(texture) {
7772
+ constructor(texture, engine) {
7637
7773
  super();
7638
7774
  this._lite = texture;
7775
+ this._readbackEngine = engine._lite;
7639
7776
  }
7640
7777
  whenReadyAsync() {
7641
7778
  return Promise.resolve();
@@ -7670,7 +7807,7 @@ var AreaLightTextureTools = class {
7670
7807
  const processed = await processAreaLightTexture(this._engine._lite, source._lite);
7671
7808
  this._shaderLanguage = ShaderLanguage.WGSL;
7672
7809
  this._ready = true;
7673
- return new ProcessedAreaLightTexture(processed);
7810
+ return new ProcessedAreaLightTexture(processed, this._engine);
7674
7811
  }
7675
7812
  dispose() {}
7676
7813
  };
@@ -8457,6 +8594,7 @@ var RawTexture2DArray = class RawTexture2DArray extends BaseTexture {
8457
8594
  this.format = format;
8458
8595
  this._sceneRef = scene;
8459
8596
  const engine = scene.getEngine()._lite;
8597
+ this._readbackEngine = engine;
8460
8598
  const tex = data === null ? createTexture2DArray(engine, width, height, depth, { mipMaps: generateMipMaps }) : createTexture2DArrayFromPixels(engine, toRgbaBytes(data, width, height, depth), width, height, depth, { mipMaps: generateMipMaps });
8461
8599
  this._liteArray = tex;
8462
8600
  this._lite = tex;
@@ -8511,6 +8649,7 @@ var RawTexture2DArray = class RawTexture2DArray extends BaseTexture {
8511
8649
  tex._sceneRef = scene;
8512
8650
  tex._liteArray = liteArray;
8513
8651
  tex._lite = liteArray;
8652
+ tex._readbackEngine = scene.getEngine()._lite;
8514
8653
  return tex;
8515
8654
  }
8516
8655
  /** Babylon.js `RawTexture2DArray.CreateRGBATexture` — RGBA raw-bytes factory. */
@@ -10240,7 +10379,7 @@ var SpriteManager = class {
10240
10379
  });
10241
10380
  for (const sprite of this._sprites) sprite._applyTo(system);
10242
10381
  this._lite = system;
10243
- addFacingBillboardSystem(scene._lite, system);
10382
+ addBillboardSystemToScene(scene._lite, system);
10244
10383
  });
10245
10384
  }
10246
10385
  /** Babylon.js `SpriteManager.isReady()` — an empty manager is ready without renderer preparation. */
@@ -12744,6 +12883,7 @@ var DITHERED_TILE_FADE_UNSUPPORTED = "Lite's material-plugin bridge supports sha
12744
12883
  var GAUSSIAN_SPLATTING_MATERIAL_UNSUPPORTED = "Lite's Gaussian-splat renderable fixes shader fragments and render state at load time and exposes no post-load material replacement or pipeline-rebuild lifecycle. Supporting Babylon.js GaussianSplattingMaterial plugins requires an opt-in Lite splat-material lifecycle design.";
12745
12884
  var GAUSSIAN_POINT_SPLATTING_UNSUPPORTED = "Lite exposes Gaussian Point Splatting through a scene-integrated high-level handle. Babylon.js's standalone renderer and blit-material classes expose manual accumulation/depth buffers and pass-level GPU control, which cannot be adapted without exposing raw GPU resources forbidden by Lite's public API.";
12746
12885
  var SHADER_MATERIAL_UNSUPPORTED = "Lite accepts standalone WGSL, but Babylon.js ShaderMaterial sources rely on the Effect shader-store/preprocessor dialect (attribute/varying declarations and injected VertexInputs/FragmentInputs); adapting it requires a shader preprocessing subsystem.";
12886
+ var SUBMESH_INDIRECT_DRAW_UNSUPPORTED = "Lite can bind one indexed-indirect source to an entire mesh, but Babylon.js binds application-owned draw arguments per submesh and render-pass id. Supporting that requires changing Lite's existing material renderable and pass-recording hot paths, so it cannot be added as an independent tree-shakeable adapter.";
12747
12887
  var FLOW_GRAPH_UNSUPPORTED = "Babylon Lite's flow-graph runtime does not expose Babylon.js FlowGraph blocks, connections, or contexts. Validation requires a stable cross-model graph adapter and block registry design.";
12748
12888
  var FlowGraphValidationSeverity = /* @__PURE__ */ function(FlowGraphValidationSeverity) {
12749
12889
  FlowGraphValidationSeverity[FlowGraphValidationSeverity["Error"] = 0] = "Error";
@@ -12978,6 +13118,15 @@ var MultiMaterial = class {
12978
13118
  unsupported("MultiMaterial", "Babylon Lite uses one material per renderable. Split the mesh geometry by material into separate meshes instead.");
12979
13119
  }
12980
13120
  };
13121
+ /** Babylon.js `SubMesh`; pass-specific indirect drawing requires Lite renderer integration. */
13122
+ var SubMesh = class {
13123
+ constructor(_materialIndex, _verticesStart, _verticesCount, _indexStart, _indexCount, _mesh, _renderingMesh, _createBoundingBox, _addToMesh) {
13124
+ unsupported("SubMesh", SUBMESH_INDIRECT_DRAW_UNSUPPORTED);
13125
+ }
13126
+ setIndirectDrawBuffer(_buffer, _byteOffset, _renderPassId) {
13127
+ unsupported("SubMesh.setIndirectDrawBuffer", SUBMESH_INDIRECT_DRAW_UNSUPPORTED);
13128
+ }
13129
+ };
12981
13130
  var GaussianSplattingMaxPartCount = GAUSSIAN_SPLATTING_MAX_PART_COUNT;
12982
13131
  function GetGaussianSplattingMaxPartCount(engine) {
12983
13132
  return getGaussianSplattingMaxPartCount(engine._lite);
@@ -13568,21 +13717,33 @@ function ComputeOverlayCssTransform() {
13568
13717
  function GetElementPixelFromUv() {
13569
13718
  return unsupported("GetElementPixelFromUv", "HTML overlay raycast interaction is not supported by Babylon Lite.");
13570
13719
  }
13571
- /** Babylon.js `IsHtmlInCanvasSupportedNatively` — the HTML-in-canvas feature is unsupported by the compat layer. */
13720
+ /**
13721
+ * Babylon.js `IsHtmlInCanvasSupportedNatively`.
13722
+ *
13723
+ * The legacy polyfill uses a positional upload signature that Lite's existing
13724
+ * HTML texture module cannot consume without adding feature branches to a
13725
+ * module already included by HTML-texture users.
13726
+ */
13572
13727
  function IsHtmlInCanvasSupportedNatively() {
13573
- return unsupported("IsHtmlInCanvasSupportedNatively", "The HTML-in-canvas feature is not supported by Babylon Lite.");
13728
+ return unsupported("IsHtmlInCanvasSupportedNatively", "Supporting the legacy HTML-in-Canvas polyfill requires changing Lite's existing HTML texture upload path, which would add code to current HTML-texture bundles.");
13574
13729
  }
13575
13730
  /** Babylon.js internal polyfill-state query. Compat never installs the unsupported polyfill. */
13576
13731
  function _IsHtmlInCanvasPolyfillInstalled() {
13577
13732
  return false;
13578
13733
  }
13579
- /** Babylon.js `InstallHtmlInCanvasPolyfill` — the HTML-in-canvas polyfill is unsupported by the compat layer. */
13734
+ /**
13735
+ * Babylon.js `InstallHtmlInCanvasPolyfill`.
13736
+ *
13737
+ * The installed polyfill would redirect Lite to an incompatible positional
13738
+ * upload API, so exposing the installer without changing Lite's hot path would
13739
+ * break otherwise-working HTML textures.
13740
+ */
13580
13741
  function InstallHtmlInCanvasPolyfill() {
13581
- return unsupported("InstallHtmlInCanvasPolyfill", "The HTML-in-canvas polyfill is not supported by Babylon Lite.");
13742
+ return unsupported("InstallHtmlInCanvasPolyfill", "The legacy polyfill's positional upload API requires changes inside Lite's existing HTML texture module, so it cannot be added as a zero-impact compat-only capability.");
13582
13743
  }
13583
- /** Babylon.js `UninstallHtmlInCanvasPolyfill` — the HTML-in-canvas polyfill is unsupported by the compat layer. */
13744
+ /** Babylon.js `UninstallHtmlInCanvasPolyfill`; paired with the structurally blocked installer. */
13584
13745
  function UninstallHtmlInCanvasPolyfill() {
13585
- return unsupported("UninstallHtmlInCanvasPolyfill", "The HTML-in-canvas polyfill is not supported by Babylon Lite.");
13746
+ return unsupported("UninstallHtmlInCanvasPolyfill", "The matching installer is unavailable because the legacy polyfill requires changes inside Lite's existing HTML texture upload path.");
13586
13747
  }
13587
13748
  var Sound = class {
13588
13749
  constructor() {
@@ -14200,11 +14361,6 @@ var FxaaPostProcess = class {
14200
14361
  unsupported("FxaaPostProcess", "FXAA is not implemented in Babylon Lite.");
14201
14362
  }
14202
14363
  };
14203
- var SSAO2RenderingPipeline = class {
14204
- constructor() {
14205
- unsupported("SSAO2RenderingPipeline", "Lite's SSAO uses preset sampling, bounded intensity, temporal reconstruction, and optional half-resolution geometry; BJS exposes exact sample counts, unbounded totalStrength, and independent blur ratios. A faithful adapter needs a Lite-owned BJS-compatible SSAO configuration contract.");
14206
- }
14207
- };
14208
14364
  var FSR1RenderingPipeline = class {
14209
14365
  constructor() {
14210
14366
  unsupported("FSR1RenderingPipeline", "FSR 1 upscaling is not implemented in Babylon Lite; it has no PostProcessRenderPipeline subsystem.");
@@ -14364,6 +14520,276 @@ var SceneOptimizer = class {
14364
14520
  unsupported("SceneOptimizer", "Automatic scene optimisation is not implemented in the compat layer.");
14365
14521
  }
14366
14522
  };
14523
+ // src/post-processes/ssao2-rendering-pipeline.ts
14524
+ /** Babylon.js-shaped adapter over Babylon Lite's native scene SSAO pipeline. */
14525
+ var SSAO2RenderingPipeline = class SSAO2RenderingPipeline {
14526
+ static _uniqueIdSource = 0;
14527
+ SSAOOriginalSceneColorEffect = "SSAOOriginalSceneColorEffect";
14528
+ SSAORenderEffect = "SSAORenderEffect";
14529
+ SSAOBlurHRenderEffect = "SSAOBlurHRenderEffect";
14530
+ SSAOBlurVRenderEffect = "SSAOBlurVRenderEffect";
14531
+ SSAOCombineRenderEffect = "SSAOCombineRenderEffect";
14532
+ isSupported;
14533
+ uniqueId = ++SSAO2RenderingPipeline._uniqueIdSource;
14534
+ /** @internal Babylon.js pipeline registry key. */
14535
+ _name;
14536
+ _scene;
14537
+ _ratio;
14538
+ _forceGeometryBuffer;
14539
+ _textureType;
14540
+ _resolutionScale;
14541
+ _native = null;
14542
+ _camera = null;
14543
+ _disposed = false;
14544
+ _radius = 2;
14545
+ _totalStrength = 1;
14546
+ _base = 0;
14547
+ _maxZ = 100;
14548
+ _minZAspect = .2;
14549
+ _epsilon = .02;
14550
+ _samples = 8;
14551
+ _expensiveBlur = true;
14552
+ _bypassBlur = false;
14553
+ _bilateralSamples = 16;
14554
+ _bilateralSoften = 0;
14555
+ _bilateralTolerance = 0;
14556
+ _useViewportInCombineStage = true;
14557
+ _textureSamples = 1;
14558
+ _warned = /* @__PURE__ */ new Set();
14559
+ cameras = [];
14560
+ constructor(name, scene, ratio, cameras, forceGeometryBuffer = false, textureType = 0) {
14561
+ this._name = name;
14562
+ this._scene = scene;
14563
+ this._ratio = ratio;
14564
+ this._forceGeometryBuffer = forceGeometryBuffer;
14565
+ this._textureType = textureType;
14566
+ this._resolutionScale = typeof ratio === "number" ? ratio : ratio.ssaoRatio ?? 1;
14567
+ this.isSupported = !scene.getEngine()._headless;
14568
+ if (scene.getEngine()._headless) {
14569
+ Logger.Error("SSAO2RenderingPipeline is not supported by the headless engine.");
14570
+ return;
14571
+ }
14572
+ if (forceGeometryBuffer !== false) this._warnUnsupported("forceGeometryBuffer", forceGeometryBuffer);
14573
+ if (textureType !== 0) this._warnUnsupported("textureType", textureType);
14574
+ if (typeof ratio !== "number" && ratio.blurRatio !== void 0 && ratio.blurRatio !== ratio.ssaoRatio) this._warnUnsupported("blurRatio", ratio.blurRatio);
14575
+ if (cameras?.length) this._attachCameras(cameras);
14576
+ scene.postProcessRenderPipelineManager.addPipeline(this);
14577
+ }
14578
+ get radius() {
14579
+ return this._radius;
14580
+ }
14581
+ set radius(value) {
14582
+ this._radius = value;
14583
+ if (this._native) this._native.radius = value;
14584
+ }
14585
+ get totalStrength() {
14586
+ return this._totalStrength;
14587
+ }
14588
+ set totalStrength(value) {
14589
+ this._totalStrength = value;
14590
+ if (this._native) this._native.intensity = value;
14591
+ }
14592
+ get base() {
14593
+ return this._base;
14594
+ }
14595
+ set base(value) {
14596
+ this._base = value;
14597
+ if (this._native) this._native.base = value;
14598
+ }
14599
+ get maxZ() {
14600
+ return this._maxZ;
14601
+ }
14602
+ set maxZ(value) {
14603
+ this._maxZ = value;
14604
+ if (this._native) this._native.fadeEnd = value;
14605
+ }
14606
+ get minZAspect() {
14607
+ return this._minZAspect;
14608
+ }
14609
+ set minZAspect(value) {
14610
+ this._minZAspect = value;
14611
+ if (value !== .2) this._warnUnsupported("minZAspect", value);
14612
+ }
14613
+ get epsilon() {
14614
+ return this._epsilon;
14615
+ }
14616
+ set epsilon(value) {
14617
+ this._epsilon = value;
14618
+ if (value !== .02) this._warnUnsupported("epsilon", value);
14619
+ }
14620
+ get samples() {
14621
+ return this._samples;
14622
+ }
14623
+ set samples(value) {
14624
+ this._samples = value;
14625
+ if (value !== 8) this._warnUnsupported("samples", value);
14626
+ }
14627
+ get expensiveBlur() {
14628
+ return this._expensiveBlur;
14629
+ }
14630
+ get bypassBlur() {
14631
+ return this._bypassBlur;
14632
+ }
14633
+ set bypassBlur(value) {
14634
+ this._bypassBlur = value;
14635
+ if (value !== false) this._warnUnsupported("bypassBlur", value);
14636
+ }
14637
+ get bilateralSamples() {
14638
+ return this._bilateralSamples;
14639
+ }
14640
+ set bilateralSamples(value) {
14641
+ this._bilateralSamples = value;
14642
+ if (value !== 16) this._warnUnsupported("bilateralSamples", value);
14643
+ }
14644
+ get bilateralSoften() {
14645
+ return this._bilateralSoften;
14646
+ }
14647
+ set bilateralSoften(value) {
14648
+ this._bilateralSoften = value;
14649
+ if (value !== 0) this._warnUnsupported("bilateralSoften", value);
14650
+ }
14651
+ get bilateralTolerance() {
14652
+ return this._bilateralTolerance;
14653
+ }
14654
+ set bilateralTolerance(value) {
14655
+ this._bilateralTolerance = value;
14656
+ if (value !== 0) this._warnUnsupported("bilateralTolerance", value);
14657
+ }
14658
+ get useViewportInCombineStage() {
14659
+ return this._useViewportInCombineStage;
14660
+ }
14661
+ set useViewportInCombineStage(value) {
14662
+ this._useViewportInCombineStage = value;
14663
+ if (value !== true) this._warnUnsupported("useViewportInCombineStage", value);
14664
+ }
14665
+ set expensiveBlur(value) {
14666
+ this._expensiveBlur = value;
14667
+ if (value !== true) this._warnUnsupported("expensiveBlur", value);
14668
+ }
14669
+ get textureSamples() {
14670
+ return this._textureSamples;
14671
+ }
14672
+ set textureSamples(value) {
14673
+ this._textureSamples = value;
14674
+ if (value !== 1) this._warnUnsupported("textureSamples", value);
14675
+ }
14676
+ getClassName() {
14677
+ return "SSAO2RenderingPipeline";
14678
+ }
14679
+ get name() {
14680
+ return this._name;
14681
+ }
14682
+ get engine() {
14683
+ return this._scene.getEngine();
14684
+ }
14685
+ get scene() {
14686
+ return this._scene;
14687
+ }
14688
+ static get IsSupported() {
14689
+ const engine = _getLastCreatedEngine();
14690
+ return engine !== null && !engine._headless;
14691
+ }
14692
+ static Parse(source, scene) {
14693
+ const pipeline = new SSAO2RenderingPipeline(String(source._name ?? "ssao"), scene, source._ratio ?? 1, void 0, source._forceGeometryBuffer ?? false, Number(source._textureType ?? 0));
14694
+ for (const key of [
14695
+ "radius",
14696
+ "totalStrength",
14697
+ "base",
14698
+ "maxZ",
14699
+ "minZAspect",
14700
+ "epsilon",
14701
+ "samples",
14702
+ "expensiveBlur",
14703
+ "bypassBlur",
14704
+ "bilateralSamples",
14705
+ "bilateralSoften",
14706
+ "bilateralTolerance",
14707
+ "textureSamples"
14708
+ ]) if (source[key] !== void 0) pipeline[key] = source[key];
14709
+ return pipeline;
14710
+ }
14711
+ isReady() {
14712
+ return this.isSupported && !this._disposed;
14713
+ }
14714
+ serialize() {
14715
+ return {
14716
+ customType: "SSAO2RenderingPipeline",
14717
+ _name: this._name,
14718
+ _ratio: this._ratio,
14719
+ _forceGeometryBuffer: this._forceGeometryBuffer,
14720
+ _textureType: this._textureType,
14721
+ radius: this.radius,
14722
+ totalStrength: this.totalStrength,
14723
+ base: this.base,
14724
+ maxZ: this.maxZ,
14725
+ minZAspect: this.minZAspect,
14726
+ epsilon: this.epsilon,
14727
+ samples: this.samples,
14728
+ expensiveBlur: this.expensiveBlur,
14729
+ bypassBlur: this.bypassBlur,
14730
+ bilateralSamples: this.bilateralSamples,
14731
+ bilateralSoften: this.bilateralSoften,
14732
+ bilateralTolerance: this.bilateralTolerance,
14733
+ textureSamples: this.textureSamples
14734
+ };
14735
+ }
14736
+ /** @internal */
14737
+ _attachCameras(cameras, _unique = false) {
14738
+ if (this._disposed || this._scene.getEngine()._headless) return;
14739
+ const list = Array.isArray(cameras) ? cameras : [cameras];
14740
+ if (list.length !== 1) unsupported("SSAO2RenderingPipeline cameras", "Babylon Lite's native scene SSAO pipeline supports exactly one fullscreen camera per scene.");
14741
+ const camera = list[0];
14742
+ if (this._camera === camera && this._native?.attached) return;
14743
+ if (this._native) detachSceneSsaoPipeline(this._native);
14744
+ this._camera = camera;
14745
+ this.cameras.length = 0;
14746
+ this.cameras.push(camera);
14747
+ this._native ??= createSceneSsaoPipeline({
14748
+ name: this._name,
14749
+ resolutionScale: this._resolutionScale,
14750
+ radius: this._radius,
14751
+ intensity: this._totalStrength,
14752
+ base: this._base,
14753
+ fadeEnd: this._maxZ
14754
+ }, this._scene.getEngine()._lite, this._scene._lite, camera._lite);
14755
+ this._native.camera = camera._lite;
14756
+ attachSceneSsaoPipeline(this._native, camera._lite);
14757
+ }
14758
+ /** @internal */
14759
+ _detachCameras(cameras) {
14760
+ const list = Array.isArray(cameras) ? cameras : [cameras];
14761
+ if (this._camera && list.includes(this._camera)) {
14762
+ if (this._native) detachSceneSsaoPipeline(this._native, this._camera._lite);
14763
+ this.cameras.length = 0;
14764
+ }
14765
+ }
14766
+ /** @internal */
14767
+ _enableEffect(_renderEffectName, _cameras) {
14768
+ return unsupported("PostProcessRenderPipelineManager.enableEffectInPipeline", "Babylon Lite's native scene SSAO is a single composite task and does not expose independently toggleable Babylon.js render effects.");
14769
+ }
14770
+ /** @internal */
14771
+ _disableEffect(_renderEffectName, _cameras) {
14772
+ return unsupported("PostProcessRenderPipelineManager.disableEffectInPipeline", "Babylon Lite's native scene SSAO is a single composite task and does not expose independently toggleable Babylon.js render effects.");
14773
+ }
14774
+ /** @internal */
14775
+ _update() {}
14776
+ /** @internal */
14777
+ _rebuild() {}
14778
+ dispose(_disableGeometryBufferRenderer = false) {
14779
+ if (this._disposed) return;
14780
+ this._disposed = true;
14781
+ if (this._native) disposeSceneSsaoPipeline(this._native);
14782
+ this._native = null;
14783
+ this._camera = null;
14784
+ this.cameras.length = 0;
14785
+ this._scene.postProcessRenderPipelineManager.removePipeline(this._name);
14786
+ }
14787
+ _warnUnsupported(setting, value) {
14788
+ if (this._warned.has(setting)) return;
14789
+ this._warned.add(setting);
14790
+ Logger.Warn(`SSAO2RenderingPipeline.${setting}=${String(value)} has no native Babylon Lite equivalent and is retained for readback only.`);
14791
+ }
14792
+ };
14367
14793
  // src/particles/node-particle-system-set.ts
14368
14794
  /**
14369
14795
  * Babylon.js-compatible Node Particle Editor (NPE) surface over Babylon Lite's
@@ -14545,6 +14971,6 @@ var NodeParticleSystemSet = class NodeParticleSystemSet {
14545
14971
  this._snippetId = null;
14546
14972
  }
14547
14973
  };
14548
- export { AbstractAssetTask, AbstractAudioAnalyzer, AbstractAudioBus, AbstractAudioNode, AbstractAudioOutNode, AbstractEngine, AbstractMesh, AbstractNamedAudioNode, AbstractScene, AbstractSound, AbstractSoundSource, AbstractSpatialAudio, AbstractSpatialAudioListener, AbstractStereoAudio, Action, ActionManager, ActionManagerTriggers, AddGaussianSplattingStreamPart, AddGaussianSplattingStreamPartAsync, AmmoJSPlugin, AnaglyphArcRotateCamera, Angle, Animatable, Animation, AnimationGroup, AnimationKeyInterpolation, AnimationLoopModes, AnimationTypes, AppendSceneAsync, ArcRotateCamera, AreaLight, AreaLightTextureTools, AssetContainer, AssetsManager, AttachToBoxBehavior, AudioBus, AudioEngine, AudioEngineV2, AudioParameterRampShape, AutoRotationBehavior, Axis, AxisDragGizmo, AxisScaleGizmo, BVHFileLoader, BackEase, BackgroundMaterial, BallAndSocketConstraint, BaseSixDofDragBehavior, BaseTexture, BezierCurveEase, BlackAndWhitePostProcess, BloomEffect, BlurPostProcess, Bone, BounceEase, BouncingBehavior, BoundingBox, BoundingBoxGizmo, BoundingBoxRenderer, BoundingInfo, BoundingSphere, CSG, CSG2, Camera, CameraGizmo, CannonJSPlugin, CascadedShadowGenerator, CastingResult, ChannelMask, CharacterSupportedState, ChromaticAberrationPostProcess, CircleEase, ClusteredLightContainer, Color3, Color4, ColorGradient, CompleteGreasedLineColorTable, CompleteGreasedLineWidthTable, ComputeOverlayCssTransform, ComputeShader, ComputeShaderParse, Condition, Constants, CreateAudioBusAsync, CreateAudioEngineAsync, CreateBox, CreateCylinder, CreateDashedLines, CreateDefaultMeshBlendRadiusDefinitions, CreateDisc, CreateGreasedLine, CreateGreasedLineMaterial, CreateGround, CreateLineSystem, CreateLines, CreateMainAudioBusAsync, CreateMicrophoneSoundSourceAsync, CreatePlane, CreatePolygon, CreatePolygonVertexData, CreateSoundAsync, CreateSoundBufferAsync, CreateSoundSourceAsync, CreateSphere, CreateStreamingSoundAsync, CreateTexture2DArrayFromImageUrlsAsync, CreateTexture2DArrayFromKTX2Async, CreateTiledBox, CreateTiledPlane, CreateTorus, CubeTexture, CubicEase, Curve3, CustomAssetTask, DefaultKTX2EncoderOptions, DefaultRenderingPipeline, DepthOfFieldEffect, DepthRenderer, DeviceInputEventType, DeviceOrientationCamera, DeviceSource, DeviceSourceManager, DeviceType, DirectionalLight, DistanceConstraint, DitheredTileFadeMaterialPlugin, DivideTexturesAsync, DualSenseInput, DualShockInput, DynamicTexture, EASINGMODE_EASEIN, EASINGMODE_EASEINOUT, EASINGMODE_EASEOUT, EasingFunction, EdgesRenderer, Effect, EffectLayer, EffectWrapper, ElasticEase, Engine, Epsilon, EventConstants, ExecuteCodeAction, ExponentialEase, ExternalTexture, ExtrudePolygon, FBXConstraintBehavior, FBXConstraintSolver, FBXFileLoader, FBXFileLoaderMetadata, FSR1RenderingPipeline, FactorGradient, FadeInOutBehavior, FlowGraphValidationSeverity, FluidRenderer, FluidRendererSceneComponent, FluidRenderingObject, FluidRenderingObjectCustomParticles, FluidRenderingObjectParticleSystem, FluidRenderingTargetRenderer, FlyCamera, FollowBehavior, FollowCamera, FrameGraphMeshBlendingTask, FrameGraphMinMaxReducerTask, FramingBehavior, FreeCamera, Frustum, FxaaPostProcess, gltf1_exports as GLTF1, gltf2_exports as GLTF2, GPUParticleSystem, GPUPicker, GUID, GamepadCamera, GaussianPointSplattingBlitMaterial, GaussianPointSplattingDepthBlitMaterial, GaussianPointSplattingRenderer, GaussianSplattingDebugMaterialPlugin, GaussianSplattingGpuPickingMaterialPlugin, GaussianSplattingGpuSortOutput, GaussianSplattingGpuSorter, GaussianSplattingMaterial, GaussianSplattingMaxPartCount, GaussianSplattingMesh, GaussianSplattingOverdrawMaterialPlugin, GaussianSplattingPartProxyMesh, GaussianSplattingSizeMaterialPlugin, GaussianSplattingSolidColorMaterialPlugin, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetGaussianSplattingGpuSorterMaxSplatCount, GetGaussianSplattingMaxPartCount, GetPartIndexVaryingDeclaration, GetPointsCount, GetSupportedSimultaneousLights, GetWhiteBalanceMatrix, GizmoManager, GlowLayer, GreasedLineBaseMesh, GreasedLineMaterialDefaults, GreasedLineMesh, GreasedLineMeshColorDistribution, GreasedLineMeshWidthDistribution, GreasedLinePluginMaterial, GreasedLineRibbonAutoDirectionMode, GreasedLineRibbonFacesMode, GreasedLineRibbonMesh, GreasedLineRibbonPointsMode, GreasedLineSimpleMaterial, GreasedLineTools, GridMaterial, GroundMesh, HDRCubeTexture, HandConstraintBehavior, HavokPlugin, HemisphericLight, HighlightLayer, HingeConstraint, HtmlInteractionManager, HtmlRaycastInteractionManager, HtmlTexture, ImageProcessingConfiguration, ImportMeshAsync, IncrementValueAction, InitializeCSG2Async, InstallHtmlInCanvasPolyfill, InstancedMesh, InterpolatingBehavior, IsHtmlInCanvasSupportedNatively, IsHtmlInCanvasUploadSupported, KHR_materials_scatter, KHR_materials_variants, KhronosTextureContainer2Encoder, LastCreatedAudioEngine, Layer, Light, LightGizmo, LinesMesh, LiteCompatError, LoadAssetContainerAsync, LoadImageToTexture2DArrayLayerAsync, LockConstraint, Logger, MainAudioBus, MapSRGBToLinear, Material, MaterialGreasedLineDefines, MaterialPluginBase, MaterialPluginManager, Matrix, MaxTintMagnitude, Mesh, MeshBlendDebugMode, MeshBlendDepthType, MeshBlendQuality, MeshBlendingPostProcess, MeshBlendingRadiusClass, MeshBuilder, MeshoptCompression, MinTemperatureKelvin, MirrorTexture, MorphTarget, MorphTargetManager, MultiMaterial, MultiPointerScaleBehavior, MultiScatterToSingleScatterAlbedoAsync, Node, NodeMaterial, NodeParticleSystemSet, NodeRenderGraphMeshBlendingPostProcessBlock, NodeRenderGraphMinMaxReducerBlock, NullEngine, OBJFileLoader, Observable, OnAudioEngineV2CreatedObservable, OpenPBRMaterial, OpenPBRMaterialDefines, OpenPBRMaterialLoadingAdapter, OutlineRenderer, PBRAnisotropicConfiguration, PBRClearCoatConfiguration, PBRIridescenceConfiguration, PBRMaterial, PBRMetallicRoughnessMaterial, PBRSheenConfiguration, PBRSpecularGlossinessMaterial, PackMeshBlendingTag, ParticleHelper, ParticleSystem, ParticleSystemSet, Path3D, PerformanceMonitor, Physics6DoFConstraint, Physics6DoFLimit, PhysicsAggregate, PhysicsBody, PhysicsCharacterController, PhysicsConstraint, PhysicsConstraintAxis, PhysicsConstraintType, PhysicsEngine, PhysicsMotionType, PhysicsPrestepType, PhysicsRaycastResult, PhysicsShape, PhysicsShapeType, PickingInfo, Plane, PlaneDragGizmo, PlaneRotationGizmo, PointLight, PointerDragBehavior, PointerEventTypes, PointerInfo, PointerInput, PointsCloudSystem, Polar, PolygonBuilder, PositionGizmo, PostProcess, PowerEase, PrecisionDate, PredicateCondition, PrismaticConstraint, PushMaterial, QuadraticEase, QuarticEase, Quaternion, QuinticEase, RandomGUID, RawTexture, RawTexture2DArray, RawTexture3D, Ray, RecastJSPlugin, RectAreaLight, ReflectionProbe, RegisterAbstractEngineTextureLoaders, RegisterComputeShader, RegisterEnginesExtensionsEngineTexture2DArrayImageSource, RegisterEnginesWebGPUExtensionsEngineTexture2DArrayImageSource, RegisterFluidRenderer, RegisterGaussianSplattingDebugMaterialPlugin, RegisterGaussianSplattingGpuPickingMaterialPlugin, RegisterGaussianSplattingMaterial, RegisterGaussianSplattingOverdrawMaterialPlugin, RegisterGaussianSplattingSizeMaterialPlugin, RegisterGaussianSplattingSolidColorMaterialPlugin, RegisterGreasedLinePluginMaterial, RegisterImageProcessingConfiguration, RegisterKHR_materials_scatter, RegisterMeshBlendingPostProcessBlock, RegisterMinMaxReducerBlock, RegisterOpenpbrMaterial, RegisterPolygonBuilder, RegisterSPLATFileLoader, RegisterUSDFileLoader, RemoveFlowGraphAnimationGroupObservers, RenderTargetTexture, RootMotionClip, RootMotionController, RootMotionSource, RotationGizmo, SPLATFileLoader, SSAO2RenderingPipeline, STLFileLoader, Scalar, ScaleGizmo, Scene, SceneLoader, SceneOptimizer, ScenePerformancePriority, SceneSerializer, SetValueAction, ShaderLanguage, ShaderMaterial, ShadowGenerator, SineEase, SingleScatterToMultiScatterAlbedoAsync, SixDofDragBehavior, Size, Skeleton, SliderConstraint, SmartArray, SolidParticleSystem, Sound, SoundSource, SoundState, Space, SpatialAudioAttachmentType, Spherical, SpotLight, SpringConstraint, Sprite, SpriteManager, SpriteMap, SpritePackedManager, SpriteRenderer, StandardMaterial, StaticSound, StaticSoundBuffer, StorageBuffer, StreamingSound, StringDictionary, SurfaceMagnetismBehavior, SwitchInput, Tags, TargetCamera, TemperatureTintToXyz, Texture, TextureChannel, TextureColorSpace, ThinEngine, ThinFSR1SharpenPostProcess, ThinFSR1UpscalePostProcess, ThinMeshBlendingPostProcess, ThinSprite, ThinWalledScatterWeightsAsync, ToDegrees, ToRadians, Tools, TouchCamera, TransformNode, TransmissionFractionAsync, TransmissionScatterToSingleScatterAlbedoAsync, USDFileLoader, UniformBuffer, UninstallHtmlInCanvasPolyfill, UniversalCamera, UnpackMeshBlendingTag, UploadHtmlElementToTexture, UploadImageToTexture2DArrayLayer, UtilityLayerRenderer, ValidateFlowGraph, ValidateFlowGraphWithBlockList, ValueCondition, ValueConditionOperators, Vector2, Vector3, Vector4, VertexBuffer, VertexData, Viewport, VirtualJoystick, WebGPUEngine, WebGPURenderPassCommandStream, WebGPURenderPassCommandStreamMaxDrawsPerBatch, WebGPURenderPassCommandStreamProtocolVersion, WebXRCamera, WeightedSound, XboxInput, _ClampGpuSortKeyBits, _ComputeGpuSortDepthCoefficients, _ComputeGpuSortDepthRange, _ComputeGpuSortKeyScale, _DecodeGpuSortSogMean, _GetGpuSortPaddedCount, _GetGpuSortPassCount, _GetPackedShBytesPerSplat, _HasGaussianPointSplattingProjectedDepth, _IsHtmlInCanvasPolyfillInstalled, _PackGpuSortIntervals, _RegisterUSDLoaderDependencies, defaultValueParseFunction, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
14974
+ export { AbstractAssetTask, AbstractAudioAnalyzer, AbstractAudioBus, AbstractAudioNode, AbstractAudioOutNode, AbstractEngine, AbstractMesh, AbstractNamedAudioNode, AbstractScene, AbstractSound, AbstractSoundSource, AbstractSpatialAudio, AbstractSpatialAudioListener, AbstractStereoAudio, Action, ActionManager, ActionManagerTriggers, AddGaussianSplattingStreamPart, AddGaussianSplattingStreamPartAsync, AmmoJSPlugin, AnaglyphArcRotateCamera, Angle, Animatable, Animation, AnimationGroup, AnimationKeyInterpolation, AnimationLoopModes, AnimationTypes, AppendSceneAsync, ArcRotateCamera, AreaLight, AreaLightTextureTools, AssetContainer, AssetsManager, AttachToBoxBehavior, AudioBus, AudioEngine, AudioEngineV2, AudioParameterRampShape, AutoRotationBehavior, Axis, AxisDragGizmo, AxisScaleGizmo, BVHFileLoader, BackEase, BackgroundMaterial, BallAndSocketConstraint, BaseSixDofDragBehavior, BaseTexture, BezierCurveEase, BlackAndWhitePostProcess, BloomEffect, BlurPostProcess, Bone, BounceEase, BouncingBehavior, BoundingBox, BoundingBoxGizmo, BoundingBoxRenderer, BoundingInfo, BoundingSphere, CSG, CSG2, Camera, CameraGizmo, CannonJSPlugin, CascadedShadowGenerator, CastingResult, ChannelMask, CharacterSupportedState, ChromaticAberrationPostProcess, CircleEase, ClusteredLightContainer, Color3, Color4, ColorGradient, CompleteGreasedLineColorTable, CompleteGreasedLineWidthTable, ComputeOverlayCssTransform, ComputeShader, ComputeShaderParse, Condition, Constants, CreateAudioBusAsync, CreateAudioEngineAsync, CreateBox, CreateCylinder, CreateDashedLines, CreateDefaultMeshBlendRadiusDefinitions, CreateDisc, CreateGreasedLine, CreateGreasedLineMaterial, CreateGround, CreateLineSystem, CreateLines, CreateMainAudioBusAsync, CreateMicrophoneSoundSourceAsync, CreatePlane, CreatePolygon, CreatePolygonVertexData, CreateSoundAsync, CreateSoundBufferAsync, CreateSoundSourceAsync, CreateSphere, CreateStreamingSoundAsync, CreateTexture2DArrayFromImageUrlsAsync, CreateTexture2DArrayFromKTX2Async, CreateTiledBox, CreateTiledPlane, CreateTorus, CubeTexture, CubicEase, Curve3, CustomAssetTask, DefaultKTX2EncoderOptions, DefaultRenderingPipeline, DepthOfFieldEffect, DepthRenderer, DeviceInputEventType, DeviceOrientationCamera, DeviceSource, DeviceSourceManager, DeviceType, DirectionalLight, DistanceConstraint, DitheredTileFadeMaterialPlugin, DivideTexturesAsync, DualSenseInput, DualShockInput, DynamicTexture, EASINGMODE_EASEIN, EASINGMODE_EASEINOUT, EASINGMODE_EASEOUT, EasingFunction, EdgesRenderer, Effect, EffectLayer, EffectWrapper, ElasticEase, Engine, Epsilon, EventConstants, ExecuteCodeAction, ExponentialEase, ExternalTexture, ExtrudePolygon, FBXConstraintBehavior, FBXConstraintSolver, FBXFileLoader, FBXFileLoaderMetadata, FSR1RenderingPipeline, FactorGradient, FadeInOutBehavior, FlowGraphValidationSeverity, FluidRenderer, FluidRendererSceneComponent, FluidRenderingObject, FluidRenderingObjectCustomParticles, FluidRenderingObjectParticleSystem, FluidRenderingTargetRenderer, FlyCamera, FollowBehavior, FollowCamera, FrameGraphMeshBlendingTask, FrameGraphMinMaxReducerTask, FramingBehavior, FreeCamera, Frustum, FxaaPostProcess, gltf1_exports as GLTF1, gltf2_exports as GLTF2, GPUParticleSystem, GPUPicker, GUID, GamepadCamera, GaussianPointSplattingBlitMaterial, GaussianPointSplattingDepthBlitMaterial, GaussianPointSplattingRenderer, GaussianSplattingDebugMaterialPlugin, GaussianSplattingGpuPickingMaterialPlugin, GaussianSplattingGpuSortOutput, GaussianSplattingGpuSorter, GaussianSplattingMaterial, GaussianSplattingMaxPartCount, GaussianSplattingMesh, GaussianSplattingOverdrawMaterialPlugin, GaussianSplattingPartProxyMesh, GaussianSplattingSizeMaterialPlugin, GaussianSplattingSolidColorMaterialPlugin, GaussianSplattingStream, GeometryBufferRenderer, GeospatialCamera, GeospatialClippingBehavior, GetElementPixelFromUv, GetGaussianSplattingGpuSorterMaxSplatCount, GetGaussianSplattingMaxPartCount, GetPartIndexVaryingDeclaration, GetPointsCount, GetSupportedSimultaneousLights, GetWhiteBalanceMatrix, GizmoManager, GlowLayer, GreasedLineBaseMesh, GreasedLineMaterialDefaults, GreasedLineMesh, GreasedLineMeshColorDistribution, GreasedLineMeshWidthDistribution, GreasedLinePluginMaterial, GreasedLineRibbonAutoDirectionMode, GreasedLineRibbonFacesMode, GreasedLineRibbonMesh, GreasedLineRibbonPointsMode, GreasedLineSimpleMaterial, GreasedLineTools, GridMaterial, GroundMesh, HDRCubeTexture, HandConstraintBehavior, HavokPlugin, HemisphericLight, HighlightLayer, HingeConstraint, HtmlInteractionManager, HtmlRaycastInteractionManager, HtmlTexture, ImageProcessingConfiguration, ImportMeshAsync, IncrementValueAction, InitializeCSG2Async, InstallHtmlInCanvasPolyfill, InstancedMesh, InterpolatingBehavior, IsHtmlInCanvasSupportedNatively, IsHtmlInCanvasUploadSupported, KHR_materials_scatter, KHR_materials_variants, KhronosTextureContainer2Encoder, LastCreatedAudioEngine, Layer, Light, LightGizmo, LinesMesh, LiteCompatError, LoadAssetContainerAsync, LoadImageToTexture2DArrayLayerAsync, LockConstraint, Logger, MainAudioBus, MapSRGBToLinear, Material, MaterialGreasedLineDefines, MaterialPluginBase, MaterialPluginManager, Matrix, MaxTintMagnitude, Mesh, MeshBlendDebugMode, MeshBlendDepthType, MeshBlendQuality, MeshBlendingPostProcess, MeshBlendingRadiusClass, MeshBuilder, MeshoptCompression, MinTemperatureKelvin, MirrorTexture, MorphTarget, MorphTargetManager, MultiMaterial, MultiPointerScaleBehavior, MultiScatterToSingleScatterAlbedoAsync, Node, NodeMaterial, NodeParticleSystemSet, NodeRenderGraphMeshBlendingPostProcessBlock, NodeRenderGraphMinMaxReducerBlock, NullEngine, OBJFileLoader, Observable, OnAudioEngineV2CreatedObservable, OpenPBRMaterial, OpenPBRMaterialDefines, OpenPBRMaterialLoadingAdapter, OutlineRenderer, PBRAnisotropicConfiguration, PBRClearCoatConfiguration, PBRIridescenceConfiguration, PBRMaterial, PBRMetallicRoughnessMaterial, PBRSheenConfiguration, PBRSpecularGlossinessMaterial, PackMeshBlendingTag, ParticleHelper, ParticleSystem, ParticleSystemSet, Path3D, PerformanceMonitor, Physics6DoFConstraint, Physics6DoFLimit, PhysicsAggregate, PhysicsBody, PhysicsCharacterController, PhysicsConstraint, PhysicsConstraintAxis, PhysicsConstraintType, PhysicsEngine, PhysicsMotionType, PhysicsPrestepType, PhysicsRaycastResult, PhysicsShape, PhysicsShapeType, PickingInfo, Plane, PlaneDragGizmo, PlaneRotationGizmo, PointLight, PointerDragBehavior, PointerEventTypes, PointerInfo, PointerInput, PointsCloudSystem, Polar, PolygonBuilder, PositionGizmo, PostProcess, PostProcessRenderPipelineManager, PowerEase, PrecisionDate, PredicateCondition, PrismaticConstraint, PushMaterial, QuadraticEase, QuarticEase, Quaternion, QuinticEase, RandomGUID, RawTexture, RawTexture2DArray, RawTexture3D, Ray, RecastJSPlugin, RectAreaLight, ReflectionProbe, RegisterAbstractEngineTextureLoaders, RegisterComputeShader, RegisterEnginesExtensionsEngineTexture2DArrayImageSource, RegisterEnginesWebGPUExtensionsEngineTexture2DArrayImageSource, RegisterFluidRenderer, RegisterGaussianSplattingDebugMaterialPlugin, RegisterGaussianSplattingGpuPickingMaterialPlugin, RegisterGaussianSplattingMaterial, RegisterGaussianSplattingOverdrawMaterialPlugin, RegisterGaussianSplattingSizeMaterialPlugin, RegisterGaussianSplattingSolidColorMaterialPlugin, RegisterGreasedLinePluginMaterial, RegisterImageProcessingConfiguration, RegisterKHR_materials_scatter, RegisterMeshBlendingPostProcessBlock, RegisterMinMaxReducerBlock, RegisterOpenpbrMaterial, RegisterPolygonBuilder, RegisterSPLATFileLoader, RegisterUSDFileLoader, RemoveFlowGraphAnimationGroupObservers, RenderTargetTexture, RootMotionClip, RootMotionController, RootMotionSource, RotationGizmo, SPLATFileLoader, SSAO2RenderingPipeline, STLFileLoader, Scalar, ScaleGizmo, Scene, SceneLoader, SceneOptimizer, ScenePerformancePriority, SceneSerializer, SetValueAction, ShaderLanguage, ShaderMaterial, ShadowGenerator, SineEase, SingleScatterToMultiScatterAlbedoAsync, SixDofDragBehavior, Size, Skeleton, SliderConstraint, SmartArray, SolidParticleSystem, Sound, SoundSource, SoundState, Space, SpatialAudioAttachmentType, Spherical, SpotLight, SpringConstraint, Sprite, SpriteManager, SpriteMap, SpritePackedManager, SpriteRenderer, StandardMaterial, StaticSound, StaticSoundBuffer, StorageBuffer, StreamingSound, StringDictionary, SubMesh, SurfaceMagnetismBehavior, SwitchInput, Tags, TargetCamera, TemperatureTintToXyz, Texture, TextureChannel, TextureColorSpace, ThinEngine, ThinFSR1SharpenPostProcess, ThinFSR1UpscalePostProcess, ThinMeshBlendingPostProcess, ThinSprite, ThinWalledScatterWeightsAsync, ToDegrees, ToRadians, Tools, TouchCamera, TransformNode, TransmissionFractionAsync, TransmissionScatterToSingleScatterAlbedoAsync, USDFileLoader, UniformBuffer, UninstallHtmlInCanvasPolyfill, UniversalCamera, UnpackMeshBlendingTag, UploadHtmlElementToTexture, UploadImageToTexture2DArrayLayer, UtilityLayerRenderer, ValidateFlowGraph, ValidateFlowGraphWithBlockList, ValueCondition, ValueConditionOperators, Vector2, Vector3, Vector4, VertexBuffer, VertexData, Viewport, VirtualJoystick, WebGPUEngine, WebGPURenderPassCommandStream, WebGPURenderPassCommandStreamMaxDrawsPerBatch, WebGPURenderPassCommandStreamProtocolVersion, WebXRCamera, WeightedSound, XboxInput, _ClampGpuSortKeyBits, _ComputeGpuSortDepthCoefficients, _ComputeGpuSortDepthRange, _ComputeGpuSortKeyScale, _DecodeGpuSortSogMean, _GetGpuSortPaddedCount, _GetGpuSortPassCount, _GetPackedShBytesPerSplat, _HasGaussianPointSplattingProjectedDepth, _IsHtmlInCanvasPolyfillInstalled, _PackGpuSortIntervals, _RegisterUSDLoaderDependencies, defaultValueParseFunction, registerBuiltInLoaders, transformCoordinates, transformNormal, unsupported };
14549
14975
 
14550
14976
  //# sourceMappingURL=index.js.map