babylonjs-addons 9.13.0 → 9.15.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/babylonjs.addons.d.ts
CHANGED
|
@@ -2520,6 +2520,10 @@ declare namespace ADDONS {
|
|
|
2520
2520
|
export class AtmospherePBRMaterialPlugin extends BABYLON.MaterialPluginBase {
|
|
2521
2521
|
private readonly _atmosphere;
|
|
2522
2522
|
private readonly _isAerialPerspectiveEnabled;
|
|
2523
|
+
private static readonly _ShaderIncludesRetryDelayMs;
|
|
2524
|
+
private _shaderIncludesLoaded;
|
|
2525
|
+
private _shaderIncludesLoadPromise;
|
|
2526
|
+
private _shaderIncludesNextRetryTime;
|
|
2523
2527
|
/**
|
|
2524
2528
|
* Constructs the {@link AtmospherePBRMaterialPlugin}.
|
|
2525
2529
|
* @param material - The material to apply the plugin to.
|
|
@@ -2551,6 +2555,12 @@ declare namespace ADDONS {
|
|
|
2551
2555
|
* @override
|
|
2552
2556
|
*/
|
|
2553
2557
|
isReadyForSubMesh(): boolean;
|
|
2558
|
+
/**
|
|
2559
|
+
* Lazily loads (and thereby registers into the ShaderStore) the shader includes referenced by
|
|
2560
|
+
* this plugin's injected custom code. Loading the correct variant for the host material's shader
|
|
2561
|
+
* language keeps this module free of top-level shader side effects so it can be tree-shaken.
|
|
2562
|
+
*/
|
|
2563
|
+
private _loadShaderIncludesAsync;
|
|
2554
2564
|
/**
|
|
2555
2565
|
* @override
|
|
2556
2566
|
*/
|