babylonjs-addons 8.55.2 → 8.55.4

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.
@@ -2221,6 +2221,7 @@ export class TransmittanceLut {
2221
2221
  private _effectRenderer;
2222
2222
  private _isDirty;
2223
2223
  private _isDisposed;
2224
+ private _needsReadPixels;
2224
2225
  /**
2225
2226
  * True if the LUT has been rendered.
2226
2227
  */
@@ -2261,6 +2262,11 @@ export class TransmittanceLut {
2261
2262
  * @returns true if the LUT was rendered.
2262
2263
  */
2263
2264
  render(): boolean;
2265
+ /**
2266
+ * Reads back the LUT data from the GPU if a readback is pending.
2267
+ * @internal
2268
+ */
2269
+ readPixelsAsync(): Promise<void>;
2264
2270
  /**
2265
2271
  * Marks the LUT as needing to be rendered.
2266
2272
  */
@@ -2313,6 +2319,7 @@ export class DiffuseSkyIrradianceLut {
2313
2319
  private _effectRenderer;
2314
2320
  private _isDirty;
2315
2321
  private _isDisposed;
2322
+ private _needsReadPixels;
2316
2323
  private _lutData;
2317
2324
  /**
2318
2325
  * True if the LUT needs to be rendered.
@@ -2352,6 +2359,11 @@ export class DiffuseSkyIrradianceLut {
2352
2359
  * @returns True if the LUT was rendered.
2353
2360
  */
2354
2361
  render(): boolean;
2362
+ /**
2363
+ * Reads back the LUT data from the GPU if a readback is pending.
2364
+ * @internal
2365
+ */
2366
+ readPixelsAsync(): Promise<void>;
2355
2367
  /**
2356
2368
  * Marks the LUT as needing to be rendered.
2357
2369
  */
@@ -5627,6 +5639,7 @@ declare module ADDONS {
5627
5639
  private _effectRenderer;
5628
5640
  private _isDirty;
5629
5641
  private _isDisposed;
5642
+ private _needsReadPixels;
5630
5643
  /**
5631
5644
  * True if the LUT has been rendered.
5632
5645
  */
@@ -5667,6 +5680,11 @@ declare module ADDONS {
5667
5680
  * @returns true if the LUT was rendered.
5668
5681
  */
5669
5682
  render(): boolean;
5683
+ /**
5684
+ * Reads back the LUT data from the GPU if a readback is pending.
5685
+ * @internal
5686
+ */
5687
+ readPixelsAsync(): Promise<void>;
5670
5688
  /**
5671
5689
  * Marks the LUT as needing to be rendered.
5672
5690
  */
@@ -5706,6 +5724,7 @@ declare module ADDONS {
5706
5724
  private _effectRenderer;
5707
5725
  private _isDirty;
5708
5726
  private _isDisposed;
5727
+ private _needsReadPixels;
5709
5728
  private _lutData;
5710
5729
  /**
5711
5730
  * True if the LUT needs to be rendered.
@@ -5745,6 +5764,11 @@ declare module ADDONS {
5745
5764
  * @returns True if the LUT was rendered.
5746
5765
  */
5747
5766
  render(): boolean;
5767
+ /**
5768
+ * Reads back the LUT data from the GPU if a readback is pending.
5769
+ * @internal
5770
+ */
5771
+ readPixelsAsync(): Promise<void>;
5748
5772
  /**
5749
5773
  * Marks the LUT as needing to be rendered.
5750
5774
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-addons",
3
- "version": "8.55.2",
3
+ "version": "8.55.4",
4
4
  "main": "babylonjs.addons.min.js",
5
5
  "types": "babylonjs.addons.module.d.ts",
6
6
  "files": [
@@ -15,7 +15,7 @@
15
15
  "test:escheck": "es-check es6 ./babylonjs.addons.js"
16
16
  },
17
17
  "dependencies": {
18
- "babylonjs": "8.55.2"
18
+ "babylonjs": "8.55.4"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/addons": "1.0.0",