@babylonjs/lite-compat 1.39.2 → 1.39.3
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/CHANGELOG.md +16 -2
- package/README.md +1 -1
- package/index.d.ts +132 -10
- package/index.js +406 -18
- package/index.js.map +1 -1
- package/{meshes-DWnDIh1l.js → meshes-FwqJpX7D.js} +26 -4
- package/meshes-FwqJpX7D.js.map +1 -0
- package/navigation.d.ts +36 -6
- package/navigation.js +1 -1
- package/package.json +5 -5
- package/meshes-DWnDIh1l.js.map +0 -1
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-
|
|
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,
|
|
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-FwqJpX7D.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, 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";
|
|
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
|
-
* `
|
|
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
|
-
|
|
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());
|
|
@@ -7260,9 +7331,18 @@ var Texture = class Texture extends BaseTexture {
|
|
|
7260
7331
|
samplingMode;
|
|
7261
7332
|
/** @internal The Scene or engine this texture was created against (for `clone`). */
|
|
7262
7333
|
_source;
|
|
7334
|
+
/** @internal The image URL, kept separate from the public name so custom names survive replacement. */
|
|
7335
|
+
_url;
|
|
7336
|
+
/** @internal The owning Lite engine, used to reject cross-engine image replacement. */
|
|
7337
|
+
_engine;
|
|
7338
|
+
/** @internal The owning scene; Babylon.js rejects image replacement on engine-only textures. */
|
|
7339
|
+
_scene;
|
|
7340
|
+
/** @internal Upload flip actually passed to Lite; engine-only loads use Lite's default. */
|
|
7341
|
+
_effectiveInvertY;
|
|
7263
7342
|
constructor(url, sceneOrEngine, noMipmapOrOptions, invertY, _samplingMode, onLoad) {
|
|
7264
7343
|
super();
|
|
7265
7344
|
this.name = url;
|
|
7345
|
+
this._url = url;
|
|
7266
7346
|
let noMipmap = false;
|
|
7267
7347
|
let invertYOpt = invertY;
|
|
7268
7348
|
let samplingMode = _samplingMode;
|
|
@@ -7278,8 +7358,10 @@ var Texture = class Texture extends BaseTexture {
|
|
|
7278
7358
|
this.samplingMode = samplingMode ?? Texture.BILINEAR_SAMPLINGMODE;
|
|
7279
7359
|
this._source = sceneOrEngine;
|
|
7280
7360
|
const scene = sceneOrEngine.getEngine ? sceneOrEngine : void 0;
|
|
7361
|
+
this._scene = scene;
|
|
7281
7362
|
const engineWrapper = scene ? void 0 : sceneOrEngine;
|
|
7282
7363
|
const engine = scene ? scene.getEngine()._lite : engineWrapper._lite;
|
|
7364
|
+
this._engine = engine;
|
|
7283
7365
|
const filterOpts = this.samplingMode === Texture.NEAREST_SAMPLINGMODE || this.samplingMode === Texture.NEAREST_NEAREST ? {
|
|
7284
7366
|
minFilter: "nearest",
|
|
7285
7367
|
magFilter: "nearest"
|
|
@@ -7289,6 +7371,7 @@ var Texture = class Texture extends BaseTexture {
|
|
|
7289
7371
|
mipMaps: !this._noMipmap,
|
|
7290
7372
|
...filterOpts
|
|
7291
7373
|
} : {};
|
|
7374
|
+
this._effectiveInvertY = scene ? this._invertY : true;
|
|
7292
7375
|
this._ready = loadCompatTexture(engine, url, loadOpts).then((tex) => {
|
|
7293
7376
|
this._lite = tex;
|
|
7294
7377
|
try {
|
|
@@ -7313,7 +7396,8 @@ var Texture = class Texture extends BaseTexture {
|
|
|
7313
7396
|
* handle (tracked against the same scene so it is ready at build).
|
|
7314
7397
|
*/
|
|
7315
7398
|
clone() {
|
|
7316
|
-
const c = new Texture(this.
|
|
7399
|
+
const c = new Texture(this._url, this._source, this._noMipmap, this._invertY, this.samplingMode);
|
|
7400
|
+
c.name = this.name;
|
|
7317
7401
|
c.uScale = this.uScale;
|
|
7318
7402
|
c.vScale = this.vScale;
|
|
7319
7403
|
c.uOffset = this.uOffset;
|
|
@@ -7322,6 +7406,23 @@ var Texture = class Texture extends BaseTexture {
|
|
|
7322
7406
|
c.coordinatesIndex = this.coordinatesIndex;
|
|
7323
7407
|
return c;
|
|
7324
7408
|
}
|
|
7409
|
+
/**
|
|
7410
|
+
* Babylon.js `Texture.replaceImage` — reuse another ready URL texture's Lite
|
|
7411
|
+
* handle without reloading it. Wrapper UV state remains local; loading state
|
|
7412
|
+
* follows the source so later clones resolve the same image.
|
|
7413
|
+
*/
|
|
7414
|
+
replaceImage(source) {
|
|
7415
|
+
if (source === this) return true;
|
|
7416
|
+
if (this.constructor !== Texture || source.constructor !== Texture || !this._scene || !this._lite || !source._lite || this._engine !== source._engine || this._effectiveInvertY !== source._effectiveInvertY) return false;
|
|
7417
|
+
const nameFollowedUrl = this.name === this._url;
|
|
7418
|
+
this._lite = source._lite;
|
|
7419
|
+
this._url = source._url;
|
|
7420
|
+
if (nameFollowedUrl) this.name = source._url;
|
|
7421
|
+
this._noMipmap = source._noMipmap;
|
|
7422
|
+
this.samplingMode = source.samplingMode;
|
|
7423
|
+
for (const material of this._scene.materials) if (material.getActiveTextures().includes(this)) material._refreshInScene();
|
|
7424
|
+
return true;
|
|
7425
|
+
}
|
|
7325
7426
|
whenReadyAsync() {
|
|
7326
7427
|
return this._ready;
|
|
7327
7428
|
}
|
|
@@ -10240,7 +10341,7 @@ var SpriteManager = class {
|
|
|
10240
10341
|
});
|
|
10241
10342
|
for (const sprite of this._sprites) sprite._applyTo(system);
|
|
10242
10343
|
this._lite = system;
|
|
10243
|
-
|
|
10344
|
+
addBillboardSystemToScene(scene._lite, system);
|
|
10244
10345
|
});
|
|
10245
10346
|
}
|
|
10246
10347
|
/** Babylon.js `SpriteManager.isReady()` — an empty manager is ready without renderer preparation. */
|
|
@@ -12744,6 +12845,7 @@ var DITHERED_TILE_FADE_UNSUPPORTED = "Lite's material-plugin bridge supports sha
|
|
|
12744
12845
|
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
12846
|
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
12847
|
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.";
|
|
12848
|
+
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
12849
|
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
12850
|
var FlowGraphValidationSeverity = /* @__PURE__ */ function(FlowGraphValidationSeverity) {
|
|
12749
12851
|
FlowGraphValidationSeverity[FlowGraphValidationSeverity["Error"] = 0] = "Error";
|
|
@@ -12978,6 +13080,15 @@ var MultiMaterial = class {
|
|
|
12978
13080
|
unsupported("MultiMaterial", "Babylon Lite uses one material per renderable. Split the mesh geometry by material into separate meshes instead.");
|
|
12979
13081
|
}
|
|
12980
13082
|
};
|
|
13083
|
+
/** Babylon.js `SubMesh`; pass-specific indirect drawing requires Lite renderer integration. */
|
|
13084
|
+
var SubMesh = class {
|
|
13085
|
+
constructor(_materialIndex, _verticesStart, _verticesCount, _indexStart, _indexCount, _mesh, _renderingMesh, _createBoundingBox, _addToMesh) {
|
|
13086
|
+
unsupported("SubMesh", SUBMESH_INDIRECT_DRAW_UNSUPPORTED);
|
|
13087
|
+
}
|
|
13088
|
+
setIndirectDrawBuffer(_buffer, _byteOffset, _renderPassId) {
|
|
13089
|
+
unsupported("SubMesh.setIndirectDrawBuffer", SUBMESH_INDIRECT_DRAW_UNSUPPORTED);
|
|
13090
|
+
}
|
|
13091
|
+
};
|
|
12981
13092
|
var GaussianSplattingMaxPartCount = GAUSSIAN_SPLATTING_MAX_PART_COUNT;
|
|
12982
13093
|
function GetGaussianSplattingMaxPartCount(engine) {
|
|
12983
13094
|
return getGaussianSplattingMaxPartCount(engine._lite);
|
|
@@ -13568,21 +13679,33 @@ function ComputeOverlayCssTransform() {
|
|
|
13568
13679
|
function GetElementPixelFromUv() {
|
|
13569
13680
|
return unsupported("GetElementPixelFromUv", "HTML overlay raycast interaction is not supported by Babylon Lite.");
|
|
13570
13681
|
}
|
|
13571
|
-
/**
|
|
13682
|
+
/**
|
|
13683
|
+
* Babylon.js `IsHtmlInCanvasSupportedNatively`.
|
|
13684
|
+
*
|
|
13685
|
+
* The legacy polyfill uses a positional upload signature that Lite's existing
|
|
13686
|
+
* HTML texture module cannot consume without adding feature branches to a
|
|
13687
|
+
* module already included by HTML-texture users.
|
|
13688
|
+
*/
|
|
13572
13689
|
function IsHtmlInCanvasSupportedNatively() {
|
|
13573
|
-
return unsupported("IsHtmlInCanvasSupportedNatively", "
|
|
13690
|
+
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
13691
|
}
|
|
13575
13692
|
/** Babylon.js internal polyfill-state query. Compat never installs the unsupported polyfill. */
|
|
13576
13693
|
function _IsHtmlInCanvasPolyfillInstalled() {
|
|
13577
13694
|
return false;
|
|
13578
13695
|
}
|
|
13579
|
-
/**
|
|
13696
|
+
/**
|
|
13697
|
+
* Babylon.js `InstallHtmlInCanvasPolyfill`.
|
|
13698
|
+
*
|
|
13699
|
+
* The installed polyfill would redirect Lite to an incompatible positional
|
|
13700
|
+
* upload API, so exposing the installer without changing Lite's hot path would
|
|
13701
|
+
* break otherwise-working HTML textures.
|
|
13702
|
+
*/
|
|
13580
13703
|
function InstallHtmlInCanvasPolyfill() {
|
|
13581
|
-
return unsupported("InstallHtmlInCanvasPolyfill", "The
|
|
13704
|
+
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
13705
|
}
|
|
13583
|
-
/** Babylon.js `UninstallHtmlInCanvasPolyfill
|
|
13706
|
+
/** Babylon.js `UninstallHtmlInCanvasPolyfill`; paired with the structurally blocked installer. */
|
|
13584
13707
|
function UninstallHtmlInCanvasPolyfill() {
|
|
13585
|
-
return unsupported("UninstallHtmlInCanvasPolyfill", "The
|
|
13708
|
+
return unsupported("UninstallHtmlInCanvasPolyfill", "The matching installer is unavailable because the legacy polyfill requires changes inside Lite's existing HTML texture upload path.");
|
|
13586
13709
|
}
|
|
13587
13710
|
var Sound = class {
|
|
13588
13711
|
constructor() {
|
|
@@ -14200,11 +14323,6 @@ var FxaaPostProcess = class {
|
|
|
14200
14323
|
unsupported("FxaaPostProcess", "FXAA is not implemented in Babylon Lite.");
|
|
14201
14324
|
}
|
|
14202
14325
|
};
|
|
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
14326
|
var FSR1RenderingPipeline = class {
|
|
14209
14327
|
constructor() {
|
|
14210
14328
|
unsupported("FSR1RenderingPipeline", "FSR 1 upscaling is not implemented in Babylon Lite; it has no PostProcessRenderPipeline subsystem.");
|
|
@@ -14364,6 +14482,276 @@ var SceneOptimizer = class {
|
|
|
14364
14482
|
unsupported("SceneOptimizer", "Automatic scene optimisation is not implemented in the compat layer.");
|
|
14365
14483
|
}
|
|
14366
14484
|
};
|
|
14485
|
+
// src/post-processes/ssao2-rendering-pipeline.ts
|
|
14486
|
+
/** Babylon.js-shaped adapter over Babylon Lite's native scene SSAO pipeline. */
|
|
14487
|
+
var SSAO2RenderingPipeline = class SSAO2RenderingPipeline {
|
|
14488
|
+
static _uniqueIdSource = 0;
|
|
14489
|
+
SSAOOriginalSceneColorEffect = "SSAOOriginalSceneColorEffect";
|
|
14490
|
+
SSAORenderEffect = "SSAORenderEffect";
|
|
14491
|
+
SSAOBlurHRenderEffect = "SSAOBlurHRenderEffect";
|
|
14492
|
+
SSAOBlurVRenderEffect = "SSAOBlurVRenderEffect";
|
|
14493
|
+
SSAOCombineRenderEffect = "SSAOCombineRenderEffect";
|
|
14494
|
+
isSupported;
|
|
14495
|
+
uniqueId = ++SSAO2RenderingPipeline._uniqueIdSource;
|
|
14496
|
+
/** @internal Babylon.js pipeline registry key. */
|
|
14497
|
+
_name;
|
|
14498
|
+
_scene;
|
|
14499
|
+
_ratio;
|
|
14500
|
+
_forceGeometryBuffer;
|
|
14501
|
+
_textureType;
|
|
14502
|
+
_resolutionScale;
|
|
14503
|
+
_native = null;
|
|
14504
|
+
_camera = null;
|
|
14505
|
+
_disposed = false;
|
|
14506
|
+
_radius = 2;
|
|
14507
|
+
_totalStrength = 1;
|
|
14508
|
+
_base = 0;
|
|
14509
|
+
_maxZ = 100;
|
|
14510
|
+
_minZAspect = .2;
|
|
14511
|
+
_epsilon = .02;
|
|
14512
|
+
_samples = 8;
|
|
14513
|
+
_expensiveBlur = true;
|
|
14514
|
+
_bypassBlur = false;
|
|
14515
|
+
_bilateralSamples = 16;
|
|
14516
|
+
_bilateralSoften = 0;
|
|
14517
|
+
_bilateralTolerance = 0;
|
|
14518
|
+
_useViewportInCombineStage = true;
|
|
14519
|
+
_textureSamples = 1;
|
|
14520
|
+
_warned = /* @__PURE__ */ new Set();
|
|
14521
|
+
cameras = [];
|
|
14522
|
+
constructor(name, scene, ratio, cameras, forceGeometryBuffer = false, textureType = 0) {
|
|
14523
|
+
this._name = name;
|
|
14524
|
+
this._scene = scene;
|
|
14525
|
+
this._ratio = ratio;
|
|
14526
|
+
this._forceGeometryBuffer = forceGeometryBuffer;
|
|
14527
|
+
this._textureType = textureType;
|
|
14528
|
+
this._resolutionScale = typeof ratio === "number" ? ratio : ratio.ssaoRatio ?? 1;
|
|
14529
|
+
this.isSupported = !scene.getEngine()._headless;
|
|
14530
|
+
if (scene.getEngine()._headless) {
|
|
14531
|
+
Logger.Error("SSAO2RenderingPipeline is not supported by the headless engine.");
|
|
14532
|
+
return;
|
|
14533
|
+
}
|
|
14534
|
+
if (forceGeometryBuffer !== false) this._warnUnsupported("forceGeometryBuffer", forceGeometryBuffer);
|
|
14535
|
+
if (textureType !== 0) this._warnUnsupported("textureType", textureType);
|
|
14536
|
+
if (typeof ratio !== "number" && ratio.blurRatio !== void 0 && ratio.blurRatio !== ratio.ssaoRatio) this._warnUnsupported("blurRatio", ratio.blurRatio);
|
|
14537
|
+
if (cameras?.length) this._attachCameras(cameras);
|
|
14538
|
+
scene.postProcessRenderPipelineManager.addPipeline(this);
|
|
14539
|
+
}
|
|
14540
|
+
get radius() {
|
|
14541
|
+
return this._radius;
|
|
14542
|
+
}
|
|
14543
|
+
set radius(value) {
|
|
14544
|
+
this._radius = value;
|
|
14545
|
+
if (this._native) this._native.radius = value;
|
|
14546
|
+
}
|
|
14547
|
+
get totalStrength() {
|
|
14548
|
+
return this._totalStrength;
|
|
14549
|
+
}
|
|
14550
|
+
set totalStrength(value) {
|
|
14551
|
+
this._totalStrength = value;
|
|
14552
|
+
if (this._native) this._native.intensity = value;
|
|
14553
|
+
}
|
|
14554
|
+
get base() {
|
|
14555
|
+
return this._base;
|
|
14556
|
+
}
|
|
14557
|
+
set base(value) {
|
|
14558
|
+
this._base = value;
|
|
14559
|
+
if (this._native) this._native.base = value;
|
|
14560
|
+
}
|
|
14561
|
+
get maxZ() {
|
|
14562
|
+
return this._maxZ;
|
|
14563
|
+
}
|
|
14564
|
+
set maxZ(value) {
|
|
14565
|
+
this._maxZ = value;
|
|
14566
|
+
if (this._native) this._native.fadeEnd = value;
|
|
14567
|
+
}
|
|
14568
|
+
get minZAspect() {
|
|
14569
|
+
return this._minZAspect;
|
|
14570
|
+
}
|
|
14571
|
+
set minZAspect(value) {
|
|
14572
|
+
this._minZAspect = value;
|
|
14573
|
+
if (value !== .2) this._warnUnsupported("minZAspect", value);
|
|
14574
|
+
}
|
|
14575
|
+
get epsilon() {
|
|
14576
|
+
return this._epsilon;
|
|
14577
|
+
}
|
|
14578
|
+
set epsilon(value) {
|
|
14579
|
+
this._epsilon = value;
|
|
14580
|
+
if (value !== .02) this._warnUnsupported("epsilon", value);
|
|
14581
|
+
}
|
|
14582
|
+
get samples() {
|
|
14583
|
+
return this._samples;
|
|
14584
|
+
}
|
|
14585
|
+
set samples(value) {
|
|
14586
|
+
this._samples = value;
|
|
14587
|
+
if (value !== 8) this._warnUnsupported("samples", value);
|
|
14588
|
+
}
|
|
14589
|
+
get expensiveBlur() {
|
|
14590
|
+
return this._expensiveBlur;
|
|
14591
|
+
}
|
|
14592
|
+
get bypassBlur() {
|
|
14593
|
+
return this._bypassBlur;
|
|
14594
|
+
}
|
|
14595
|
+
set bypassBlur(value) {
|
|
14596
|
+
this._bypassBlur = value;
|
|
14597
|
+
if (value !== false) this._warnUnsupported("bypassBlur", value);
|
|
14598
|
+
}
|
|
14599
|
+
get bilateralSamples() {
|
|
14600
|
+
return this._bilateralSamples;
|
|
14601
|
+
}
|
|
14602
|
+
set bilateralSamples(value) {
|
|
14603
|
+
this._bilateralSamples = value;
|
|
14604
|
+
if (value !== 16) this._warnUnsupported("bilateralSamples", value);
|
|
14605
|
+
}
|
|
14606
|
+
get bilateralSoften() {
|
|
14607
|
+
return this._bilateralSoften;
|
|
14608
|
+
}
|
|
14609
|
+
set bilateralSoften(value) {
|
|
14610
|
+
this._bilateralSoften = value;
|
|
14611
|
+
if (value !== 0) this._warnUnsupported("bilateralSoften", value);
|
|
14612
|
+
}
|
|
14613
|
+
get bilateralTolerance() {
|
|
14614
|
+
return this._bilateralTolerance;
|
|
14615
|
+
}
|
|
14616
|
+
set bilateralTolerance(value) {
|
|
14617
|
+
this._bilateralTolerance = value;
|
|
14618
|
+
if (value !== 0) this._warnUnsupported("bilateralTolerance", value);
|
|
14619
|
+
}
|
|
14620
|
+
get useViewportInCombineStage() {
|
|
14621
|
+
return this._useViewportInCombineStage;
|
|
14622
|
+
}
|
|
14623
|
+
set useViewportInCombineStage(value) {
|
|
14624
|
+
this._useViewportInCombineStage = value;
|
|
14625
|
+
if (value !== true) this._warnUnsupported("useViewportInCombineStage", value);
|
|
14626
|
+
}
|
|
14627
|
+
set expensiveBlur(value) {
|
|
14628
|
+
this._expensiveBlur = value;
|
|
14629
|
+
if (value !== true) this._warnUnsupported("expensiveBlur", value);
|
|
14630
|
+
}
|
|
14631
|
+
get textureSamples() {
|
|
14632
|
+
return this._textureSamples;
|
|
14633
|
+
}
|
|
14634
|
+
set textureSamples(value) {
|
|
14635
|
+
this._textureSamples = value;
|
|
14636
|
+
if (value !== 1) this._warnUnsupported("textureSamples", value);
|
|
14637
|
+
}
|
|
14638
|
+
getClassName() {
|
|
14639
|
+
return "SSAO2RenderingPipeline";
|
|
14640
|
+
}
|
|
14641
|
+
get name() {
|
|
14642
|
+
return this._name;
|
|
14643
|
+
}
|
|
14644
|
+
get engine() {
|
|
14645
|
+
return this._scene.getEngine();
|
|
14646
|
+
}
|
|
14647
|
+
get scene() {
|
|
14648
|
+
return this._scene;
|
|
14649
|
+
}
|
|
14650
|
+
static get IsSupported() {
|
|
14651
|
+
const engine = _getLastCreatedEngine();
|
|
14652
|
+
return engine !== null && !engine._headless;
|
|
14653
|
+
}
|
|
14654
|
+
static Parse(source, scene) {
|
|
14655
|
+
const pipeline = new SSAO2RenderingPipeline(String(source._name ?? "ssao"), scene, source._ratio ?? 1, void 0, source._forceGeometryBuffer ?? false, Number(source._textureType ?? 0));
|
|
14656
|
+
for (const key of [
|
|
14657
|
+
"radius",
|
|
14658
|
+
"totalStrength",
|
|
14659
|
+
"base",
|
|
14660
|
+
"maxZ",
|
|
14661
|
+
"minZAspect",
|
|
14662
|
+
"epsilon",
|
|
14663
|
+
"samples",
|
|
14664
|
+
"expensiveBlur",
|
|
14665
|
+
"bypassBlur",
|
|
14666
|
+
"bilateralSamples",
|
|
14667
|
+
"bilateralSoften",
|
|
14668
|
+
"bilateralTolerance",
|
|
14669
|
+
"textureSamples"
|
|
14670
|
+
]) if (source[key] !== void 0) pipeline[key] = source[key];
|
|
14671
|
+
return pipeline;
|
|
14672
|
+
}
|
|
14673
|
+
isReady() {
|
|
14674
|
+
return this.isSupported && !this._disposed;
|
|
14675
|
+
}
|
|
14676
|
+
serialize() {
|
|
14677
|
+
return {
|
|
14678
|
+
customType: "SSAO2RenderingPipeline",
|
|
14679
|
+
_name: this._name,
|
|
14680
|
+
_ratio: this._ratio,
|
|
14681
|
+
_forceGeometryBuffer: this._forceGeometryBuffer,
|
|
14682
|
+
_textureType: this._textureType,
|
|
14683
|
+
radius: this.radius,
|
|
14684
|
+
totalStrength: this.totalStrength,
|
|
14685
|
+
base: this.base,
|
|
14686
|
+
maxZ: this.maxZ,
|
|
14687
|
+
minZAspect: this.minZAspect,
|
|
14688
|
+
epsilon: this.epsilon,
|
|
14689
|
+
samples: this.samples,
|
|
14690
|
+
expensiveBlur: this.expensiveBlur,
|
|
14691
|
+
bypassBlur: this.bypassBlur,
|
|
14692
|
+
bilateralSamples: this.bilateralSamples,
|
|
14693
|
+
bilateralSoften: this.bilateralSoften,
|
|
14694
|
+
bilateralTolerance: this.bilateralTolerance,
|
|
14695
|
+
textureSamples: this.textureSamples
|
|
14696
|
+
};
|
|
14697
|
+
}
|
|
14698
|
+
/** @internal */
|
|
14699
|
+
_attachCameras(cameras, _unique = false) {
|
|
14700
|
+
if (this._disposed || this._scene.getEngine()._headless) return;
|
|
14701
|
+
const list = Array.isArray(cameras) ? cameras : [cameras];
|
|
14702
|
+
if (list.length !== 1) unsupported("SSAO2RenderingPipeline cameras", "Babylon Lite's native scene SSAO pipeline supports exactly one fullscreen camera per scene.");
|
|
14703
|
+
const camera = list[0];
|
|
14704
|
+
if (this._camera === camera && this._native?.attached) return;
|
|
14705
|
+
if (this._native) detachSceneSsaoPipeline(this._native);
|
|
14706
|
+
this._camera = camera;
|
|
14707
|
+
this.cameras.length = 0;
|
|
14708
|
+
this.cameras.push(camera);
|
|
14709
|
+
this._native ??= createSceneSsaoPipeline({
|
|
14710
|
+
name: this._name,
|
|
14711
|
+
resolutionScale: this._resolutionScale,
|
|
14712
|
+
radius: this._radius,
|
|
14713
|
+
intensity: this._totalStrength,
|
|
14714
|
+
base: this._base,
|
|
14715
|
+
fadeEnd: this._maxZ
|
|
14716
|
+
}, this._scene.getEngine()._lite, this._scene._lite, camera._lite);
|
|
14717
|
+
this._native.camera = camera._lite;
|
|
14718
|
+
attachSceneSsaoPipeline(this._native, camera._lite);
|
|
14719
|
+
}
|
|
14720
|
+
/** @internal */
|
|
14721
|
+
_detachCameras(cameras) {
|
|
14722
|
+
const list = Array.isArray(cameras) ? cameras : [cameras];
|
|
14723
|
+
if (this._camera && list.includes(this._camera)) {
|
|
14724
|
+
if (this._native) detachSceneSsaoPipeline(this._native, this._camera._lite);
|
|
14725
|
+
this.cameras.length = 0;
|
|
14726
|
+
}
|
|
14727
|
+
}
|
|
14728
|
+
/** @internal */
|
|
14729
|
+
_enableEffect(_renderEffectName, _cameras) {
|
|
14730
|
+
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.");
|
|
14731
|
+
}
|
|
14732
|
+
/** @internal */
|
|
14733
|
+
_disableEffect(_renderEffectName, _cameras) {
|
|
14734
|
+
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.");
|
|
14735
|
+
}
|
|
14736
|
+
/** @internal */
|
|
14737
|
+
_update() {}
|
|
14738
|
+
/** @internal */
|
|
14739
|
+
_rebuild() {}
|
|
14740
|
+
dispose(_disableGeometryBufferRenderer = false) {
|
|
14741
|
+
if (this._disposed) return;
|
|
14742
|
+
this._disposed = true;
|
|
14743
|
+
if (this._native) disposeSceneSsaoPipeline(this._native);
|
|
14744
|
+
this._native = null;
|
|
14745
|
+
this._camera = null;
|
|
14746
|
+
this.cameras.length = 0;
|
|
14747
|
+
this._scene.postProcessRenderPipelineManager.removePipeline(this._name);
|
|
14748
|
+
}
|
|
14749
|
+
_warnUnsupported(setting, value) {
|
|
14750
|
+
if (this._warned.has(setting)) return;
|
|
14751
|
+
this._warned.add(setting);
|
|
14752
|
+
Logger.Warn(`SSAO2RenderingPipeline.${setting}=${String(value)} has no native Babylon Lite equivalent and is retained for readback only.`);
|
|
14753
|
+
}
|
|
14754
|
+
};
|
|
14367
14755
|
// src/particles/node-particle-system-set.ts
|
|
14368
14756
|
/**
|
|
14369
14757
|
* Babylon.js-compatible Node Particle Editor (NPE) surface over Babylon Lite's
|
|
@@ -14545,6 +14933,6 @@ var NodeParticleSystemSet = class NodeParticleSystemSet {
|
|
|
14545
14933
|
this._snippetId = null;
|
|
14546
14934
|
}
|
|
14547
14935
|
};
|
|
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 };
|
|
14936
|
+
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
14937
|
|
|
14550
14938
|
//# sourceMappingURL=index.js.map
|