@babylonjs/core 7.13.0 → 7.13.2

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.
Files changed (87) hide show
  1. package/Animations/animationGroupMask.d.ts +1 -1
  2. package/Animations/animationKey.d.ts +1 -1
  3. package/Behaviors/Meshes/handConstraintBehavior.d.ts +3 -3
  4. package/Buffers/bufferUtils.d.ts +13 -0
  5. package/Buffers/bufferUtils.js +42 -0
  6. package/Buffers/bufferUtils.js.map +1 -0
  7. package/Buffers/index.d.ts +1 -0
  8. package/Buffers/index.js +1 -0
  9. package/Buffers/index.js.map +1 -1
  10. package/Cameras/Inputs/flyCameraMouseInput.d.ts +0 -1
  11. package/Cameras/Inputs/flyCameraMouseInput.js +0 -1
  12. package/Cameras/Inputs/flyCameraMouseInput.js.map +1 -1
  13. package/Collisions/gpuPicker.d.ts +1 -0
  14. package/Collisions/gpuPicker.js +1 -0
  15. package/Collisions/gpuPicker.js.map +1 -1
  16. package/Debug/debugLayer.d.ts +1 -1
  17. package/Decorators/nodeDecorator.d.ts +1 -1
  18. package/DeviceInput/InputDevices/deviceEnums.d.ts +5 -5
  19. package/Engines/Extensions/engine.computeShader.d.ts +1 -1
  20. package/Engines/WebGPU/webgpuConstants.d.ts +39 -39
  21. package/Engines/abstractEngine.js +2 -2
  22. package/Engines/abstractEngine.js.map +1 -1
  23. package/Events/deviceInputEvents.d.ts +1 -1
  24. package/FlowGraph/flowGraph.d.ts +1 -1
  25. package/FlowGraph/flowGraphConnection.d.ts +1 -1
  26. package/Gamepads/dualShockGamepad.d.ts +2 -2
  27. package/Gamepads/xboxGamepad.d.ts +2 -2
  28. package/Gizmos/gizmo.d.ts +2 -2
  29. package/Loading/sceneLoader.d.ts +1 -1
  30. package/Materials/GreasedLine/greasedLineMaterialInterfaces.d.ts +3 -3
  31. package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +1 -1
  32. package/Materials/Node/Blocks/waveBlock.d.ts +1 -1
  33. package/Materials/Node/Enums/nodeMaterialBlockConnectionPointMode.d.ts +1 -1
  34. package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +2 -2
  35. package/Materials/Textures/internalTexture.d.ts +1 -1
  36. package/Materials/Textures/ktx2decoderTypes.d.ts +1 -1
  37. package/Materials/materialPluginEvent.d.ts +1 -1
  38. package/Materials/meshDebugPluginMaterial.d.ts +1 -1
  39. package/Materials/shaderLanguage.d.ts +1 -1
  40. package/Maths/math.axis.d.ts +2 -2
  41. package/Maths/math.path.d.ts +1 -1
  42. package/Maths/math.vector.js +32 -6
  43. package/Maths/math.vector.js.map +1 -1
  44. package/Meshes/Builders/greasedLineBuilder.d.ts +2 -2
  45. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +3 -3
  46. package/Meshes/Node/nodeGeometryBlockConnectionPoint.d.ts +2 -2
  47. package/Meshes/abstractMesh.d.ts +49 -17
  48. package/Meshes/abstractMesh.js +126 -130
  49. package/Meshes/abstractMesh.js.map +1 -1
  50. package/Meshes/csg.js +12 -0
  51. package/Meshes/csg.js.map +1 -1
  52. package/Meshes/geometry.d.ts +8 -0
  53. package/Meshes/geometry.js +17 -0
  54. package/Meshes/geometry.js.map +1 -1
  55. package/Meshes/instancedMesh.d.ts +5 -8
  56. package/Meshes/instancedMesh.js +15 -9
  57. package/Meshes/instancedMesh.js.map +1 -1
  58. package/Meshes/mesh.d.ts +7 -3
  59. package/Meshes/mesh.js +20 -11
  60. package/Meshes/mesh.js.map +1 -1
  61. package/Meshes/meshSimplification.d.ts +1 -1
  62. package/Misc/assetsManager.d.ts +1 -1
  63. package/Misc/asyncLock.d.ts +24 -0
  64. package/Misc/asyncLock.js +32 -0
  65. package/Misc/asyncLock.js.map +1 -0
  66. package/Misc/copyTextureToTexture.d.ts +1 -1
  67. package/Misc/iInspectable.d.ts +1 -1
  68. package/Misc/index.d.ts +1 -0
  69. package/Misc/index.js +1 -0
  70. package/Misc/index.js.map +1 -1
  71. package/Misc/timer.d.ts +1 -1
  72. package/Misc/virtualJoystick.d.ts +1 -1
  73. package/Particles/gpuParticleSystem.js +1 -0
  74. package/Particles/gpuParticleSystem.js.map +1 -1
  75. package/Particles/pointsCloudSystem.d.ts +1 -1
  76. package/Particles/subEmitter.d.ts +1 -1
  77. package/Physics/physicsHelper.d.ts +2 -2
  78. package/Physics/v2/IPhysicsEnginePlugin.d.ts +8 -8
  79. package/Physics/v2/physicsMaterial.d.ts +1 -1
  80. package/PostProcesses/depthOfFieldEffect.d.ts +1 -1
  81. package/PostProcesses/tonemapPostProcess.d.ts +1 -1
  82. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +1 -1
  83. package/XR/features/WebXRHandTracking.d.ts +2 -2
  84. package/XR/features/WebXRNearInteraction.d.ts +1 -1
  85. package/XR/webXRTypes.d.ts +2 -2
  86. package/package.json +1 -1
  87. package/scene.d.ts +1 -1
@@ -117,7 +117,7 @@ export declare class SimplificationQueue {
117
117
  * At the moment only Quadratic Error Decimation is implemented
118
118
  * @see https://doc.babylonjs.com/features/featuresDeepDive/mesh/simplifyingMeshes
119
119
  */
120
- export declare const enum SimplificationType {
120
+ export declare enum SimplificationType {
121
121
  /** Quadratic error decimation */
122
122
  QUADRATIC = 0
123
123
  }
@@ -16,7 +16,7 @@ import type { Nullable } from "../types";
16
16
  /**
17
17
  * Defines the list of states available for a task inside a AssetsManager
18
18
  */
19
- export declare const enum AssetTaskState {
19
+ export declare enum AssetTaskState {
20
20
  /**
21
21
  * Initialization
22
22
  */
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Provides a simple way of creating the rough equivalent of an async critical section.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * const myLock = new AsyncLock();
7
+ *
8
+ * private async MyFuncAsync(): Promise<void> {
9
+ * await myLock.lockAsync(async () => {
10
+ * await operation1Async();
11
+ * await operation2Async();
12
+ * });
13
+ * }
14
+ * ```
15
+ */
16
+ export declare class AsyncLock {
17
+ private _currentOperation;
18
+ /**
19
+ * Executes the func when the lock is acquired (e.g. when the previous operation finishes).
20
+ * @param func The function to execute.
21
+ * @returns A promise that resolves when the func finishes executing.
22
+ */
23
+ lockAsync<T>(func: () => T | Promise<T>): Promise<T>;
24
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Provides a simple way of creating the rough equivalent of an async critical section.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * const myLock = new AsyncLock();
7
+ *
8
+ * private async MyFuncAsync(): Promise<void> {
9
+ * await myLock.lockAsync(async () => {
10
+ * await operation1Async();
11
+ * await operation2Async();
12
+ * });
13
+ * }
14
+ * ```
15
+ */
16
+ export class AsyncLock {
17
+ constructor() {
18
+ this._currentOperation = Promise.resolve();
19
+ }
20
+ /**
21
+ * Executes the func when the lock is acquired (e.g. when the previous operation finishes).
22
+ * @param func The function to execute.
23
+ * @returns A promise that resolves when the func finishes executing.
24
+ */
25
+ lockAsync(func) {
26
+ const newOperation = this._currentOperation.then(func);
27
+ // NOTE: It would be simpler to just hold a Promise<unknown>, but this class should not prevent an object held by the returned promise from being garbage collected.
28
+ this._currentOperation = new Promise((resolve) => newOperation.then(() => resolve(), resolve));
29
+ return newOperation;
30
+ }
31
+ }
32
+ //# sourceMappingURL=asyncLock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncLock.js","sourceRoot":"","sources":["../../../../dev/core/src/Misc/asyncLock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,MAAM,OAAO,SAAS;IAAtB;QACY,sBAAiB,GAAkB,OAAO,CAAC,OAAO,EAAE,CAAC;IAajE,CAAC;IAXG;;;;OAIG;IACI,SAAS,CAAI,IAA0B;QAC1C,MAAM,YAAY,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvD,oKAAoK;QACpK,IAAI,CAAC,iBAAiB,GAAG,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC,CAAC;QACrG,OAAO,YAAY,CAAC;IACxB,CAAC;CACJ","sourcesContent":["/**\r\n * Provides a simple way of creating the rough equivalent of an async critical section.\r\n *\r\n * @example\r\n * ```typescript\r\n * const myLock = new AsyncLock();\r\n *\r\n * private async MyFuncAsync(): Promise<void> {\r\n * await myLock.lockAsync(async () => {\r\n * await operation1Async();\r\n * await operation2Async();\r\n * });\r\n * }\r\n * ```\r\n */\r\nexport class AsyncLock {\r\n private _currentOperation: Promise<void> = Promise.resolve();\r\n\r\n /**\r\n * Executes the func when the lock is acquired (e.g. when the previous operation finishes).\r\n * @param func The function to execute.\r\n * @returns A promise that resolves when the func finishes executing.\r\n */\r\n public lockAsync<T>(func: () => T | Promise<T>): Promise<T> {\r\n const newOperation = this._currentOperation.then(func);\r\n // NOTE: It would be simpler to just hold a Promise<unknown>, but this class should not prevent an object held by the returned promise from being garbage collected.\r\n this._currentOperation = new Promise<void>((resolve) => newOperation.then(() => resolve(), resolve));\r\n return newOperation;\r\n }\r\n}\r\n"]}
@@ -6,7 +6,7 @@ import "../Shaders/copyTextureToTexture.fragment";
6
6
  /**
7
7
  * Conversion modes available when copying a texture into another one
8
8
  */
9
- export declare const enum ConversionMode {
9
+ export declare enum ConversionMode {
10
10
  None = 0,
11
11
  ToLinearSpace = 1,
12
12
  ToGammaSpace = 2
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Enum that determines the text-wrapping mode to use.
3
3
  */
4
- export declare const enum InspectableType {
4
+ export declare enum InspectableType {
5
5
  /**
6
6
  * Checkbox for booleans
7
7
  */
package/Misc/index.d.ts CHANGED
@@ -65,3 +65,4 @@ export * from "./dumpTools";
65
65
  export * from "./greasedLineTools";
66
66
  export * from "./equirectangularCapture";
67
67
  export * from "./decorators.serialization";
68
+ export * from "./asyncLock";
package/Misc/index.js CHANGED
@@ -67,4 +67,5 @@ export * from "./dumpTools.js";
67
67
  export * from "./greasedLineTools.js";
68
68
  export * from "./equirectangularCapture.js";
69
69
  export * from "./decorators.serialization.js";
70
+ export * from "./asyncLock.js";
70
71
  //# sourceMappingURL=index.js.map
package/Misc/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../dev/core/src/Misc/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,yCAAyC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nexport * from \"./andOrNotEvaluator\";\r\nexport * from \"./assetsManager\";\r\nexport * from \"./basis\";\r\nexport * from \"./dds\";\r\nexport * from \"./decorators\";\r\nexport * from \"./deferred\";\r\nexport * from \"./environmentTextureTools\";\r\nexport * from \"./meshExploder\";\r\nexport * from \"./filesInput\";\r\nexport * from \"./HighDynamicRange/index\";\r\nexport * from \"./khronosTextureContainer\";\r\nexport * from \"./observable\";\r\nexport * from \"./observable.extensions\";\r\nexport * from \"./performanceMonitor\";\r\nexport * from \"./sceneOptimizer\";\r\nexport * from \"./sceneSerializer\";\r\nexport * from \"./smartArray\";\r\nexport * from \"./stringDictionary\";\r\nexport * from \"./tags\";\r\nexport * from \"./textureTools\";\r\nexport * from \"./tga\";\r\nexport * from \"./tools\";\r\nexport * from \"./videoRecorder\";\r\nexport * from \"./virtualJoystick\";\r\nexport * from \"./workerPool\";\r\nexport * from \"./logger\";\r\nexport * from \"./typeStore\";\r\nexport * from \"./filesInputStore\";\r\nexport * from \"./deepCopier\";\r\nexport * from \"./pivotTools\";\r\nexport * from \"./precisionDate\";\r\nexport * from \"./screenshotTools\";\r\nexport * from \"./webRequest\";\r\nexport * from \"./iInspectable\";\r\nexport * from \"./brdfTextureTools\";\r\nexport * from \"./rgbdTextureTools\";\r\nexport * from \"./gradients\";\r\nexport * from \"./perfCounter\";\r\nexport * from \"./fileRequest\";\r\nexport * from \"./customAnimationFrameRequester\";\r\nexport * from \"./retryStrategy\";\r\nexport * from \"./interfaces/screenshotSize\";\r\nexport * from \"./interfaces/iPerfViewer\";\r\nexport * from \"./fileTools\";\r\nexport * from \"./stringTools\";\r\nexport * from \"./dataReader\";\r\nexport * from \"./minMaxReducer\";\r\nexport * from \"./depthReducer\";\r\nexport * from \"./dataStorage\";\r\nexport * from \"./sceneRecorder\";\r\nexport * from \"./khronosTextureContainer2\";\r\nexport * from \"./trajectoryClassifier\";\r\nexport * from \"./timer\";\r\nexport * from \"./copyTools\";\r\nexport * from \"./reflector\";\r\nexport * from \"./domManagement\";\r\nexport * from \"./pressureObserverWrapper\";\r\nexport * from \"./PerformanceViewer/index\";\r\nexport * from \"./coroutine\";\r\nexport * from \"./guid\";\r\nexport * from \"./error\";\r\n// eslint-disable-next-line import/export\r\nexport * from \"./observableCoroutine\";\r\nexport * from \"./copyTextureToTexture\";\r\nexport * from \"./dumpTools\";\r\nexport * from \"./greasedLineTools\";\r\nexport * from \"./equirectangularCapture\";\r\nexport * from \"./decorators.serialization\";\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../dev/core/src/Misc/index.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC;AACvC,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,yCAAyC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC","sourcesContent":["/* eslint-disable import/no-internal-modules */\r\nexport * from \"./andOrNotEvaluator\";\r\nexport * from \"./assetsManager\";\r\nexport * from \"./basis\";\r\nexport * from \"./dds\";\r\nexport * from \"./decorators\";\r\nexport * from \"./deferred\";\r\nexport * from \"./environmentTextureTools\";\r\nexport * from \"./meshExploder\";\r\nexport * from \"./filesInput\";\r\nexport * from \"./HighDynamicRange/index\";\r\nexport * from \"./khronosTextureContainer\";\r\nexport * from \"./observable\";\r\nexport * from \"./observable.extensions\";\r\nexport * from \"./performanceMonitor\";\r\nexport * from \"./sceneOptimizer\";\r\nexport * from \"./sceneSerializer\";\r\nexport * from \"./smartArray\";\r\nexport * from \"./stringDictionary\";\r\nexport * from \"./tags\";\r\nexport * from \"./textureTools\";\r\nexport * from \"./tga\";\r\nexport * from \"./tools\";\r\nexport * from \"./videoRecorder\";\r\nexport * from \"./virtualJoystick\";\r\nexport * from \"./workerPool\";\r\nexport * from \"./logger\";\r\nexport * from \"./typeStore\";\r\nexport * from \"./filesInputStore\";\r\nexport * from \"./deepCopier\";\r\nexport * from \"./pivotTools\";\r\nexport * from \"./precisionDate\";\r\nexport * from \"./screenshotTools\";\r\nexport * from \"./webRequest\";\r\nexport * from \"./iInspectable\";\r\nexport * from \"./brdfTextureTools\";\r\nexport * from \"./rgbdTextureTools\";\r\nexport * from \"./gradients\";\r\nexport * from \"./perfCounter\";\r\nexport * from \"./fileRequest\";\r\nexport * from \"./customAnimationFrameRequester\";\r\nexport * from \"./retryStrategy\";\r\nexport * from \"./interfaces/screenshotSize\";\r\nexport * from \"./interfaces/iPerfViewer\";\r\nexport * from \"./fileTools\";\r\nexport * from \"./stringTools\";\r\nexport * from \"./dataReader\";\r\nexport * from \"./minMaxReducer\";\r\nexport * from \"./depthReducer\";\r\nexport * from \"./dataStorage\";\r\nexport * from \"./sceneRecorder\";\r\nexport * from \"./khronosTextureContainer2\";\r\nexport * from \"./trajectoryClassifier\";\r\nexport * from \"./timer\";\r\nexport * from \"./copyTools\";\r\nexport * from \"./reflector\";\r\nexport * from \"./domManagement\";\r\nexport * from \"./pressureObserverWrapper\";\r\nexport * from \"./PerformanceViewer/index\";\r\nexport * from \"./coroutine\";\r\nexport * from \"./guid\";\r\nexport * from \"./error\";\r\n// eslint-disable-next-line import/export\r\nexport * from \"./observableCoroutine\";\r\nexport * from \"./copyTextureToTexture\";\r\nexport * from \"./dumpTools\";\r\nexport * from \"./greasedLineTools\";\r\nexport * from \"./equirectangularCapture\";\r\nexport * from \"./decorators.serialization\";\r\nexport * from \"./asyncLock\";\r\n"]}
package/Misc/timer.d.ts CHANGED
@@ -70,7 +70,7 @@ export interface ITimerData<T> {
70
70
  /**
71
71
  * The current state of the timer
72
72
  */
73
- export declare const enum TimerState {
73
+ export declare enum TimerState {
74
74
  /**
75
75
  * Timer initialized, not yet started
76
76
  */
@@ -3,7 +3,7 @@ import { Vector3 } from "../Maths/math.vector";
3
3
  /**
4
4
  * Defines the potential axis of a Joystick
5
5
  */
6
- export declare const enum JoystickAxis {
6
+ export declare enum JoystickAxis {
7
7
  /** X axis */
8
8
  X = 0,
9
9
  /** Y axis */
@@ -262,6 +262,7 @@ export class GPUParticleSystem extends BaseParticleSystem {
262
262
  if (this._stopped) {
263
263
  return;
264
264
  }
265
+ this.onStoppedObservable.notifyObservers(this);
265
266
  this._stopped = true;
266
267
  }
267
268
  /**