babylonjs-addons 8.46.2 → 8.47.1
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
|
@@ -2050,6 +2050,10 @@ declare module ADDONS {
|
|
|
2050
2050
|
* @throws if the LUT has been disposed.
|
|
2051
2051
|
*/
|
|
2052
2052
|
get renderTarget(): BABYLON.RenderTargetTexture;
|
|
2053
|
+
/**
|
|
2054
|
+
* True if the LUT data has been read back from the GPU.
|
|
2055
|
+
*/
|
|
2056
|
+
get hasLutData(): boolean;
|
|
2053
2057
|
/**
|
|
2054
2058
|
* Constructs the {@link TransmittanceLut}.
|
|
2055
2059
|
* @param atmosphere - The atmosphere that owns this LUT.
|
|
@@ -2505,6 +2509,10 @@ declare module ADDONS {
|
|
|
2505
2509
|
* @param _isAerialPerspectiveEnabled - Whether to apply aerial perspective.
|
|
2506
2510
|
*/
|
|
2507
2511
|
constructor(material: BABYLON.Material, _atmosphere: Atmosphere, _isAerialPerspectiveEnabled?: boolean);
|
|
2512
|
+
/**
|
|
2513
|
+
* @override
|
|
2514
|
+
*/
|
|
2515
|
+
isCompatible(): boolean;
|
|
2508
2516
|
/**
|
|
2509
2517
|
* @override
|
|
2510
2518
|
*/
|
|
@@ -2544,7 +2552,7 @@ declare module ADDONS {
|
|
|
2544
2552
|
/**
|
|
2545
2553
|
* @override
|
|
2546
2554
|
*/
|
|
2547
|
-
getCustomCode(shaderType: string): BABYLON.Nullable<Record<string, string>>;
|
|
2555
|
+
getCustomCode(shaderType: string, shaderLanguage: BABYLON.ShaderLanguage): BABYLON.Nullable<Record<string, string>>;
|
|
2548
2556
|
}
|
|
2549
2557
|
|
|
2550
2558
|
|
|
@@ -2991,11 +2999,6 @@ declare module ADDONS {
|
|
|
2991
2999
|
* @returns The result color.
|
|
2992
3000
|
*/
|
|
2993
3001
|
getDiffuseSkyIrradianceToRef: <T extends BABYLON.IColor3Like>(directionToLight: BABYLON.IVector3Like, pointRadius: number, pointGeocentricNormal: BABYLON.IVector3Like, lightIrradiance: number, result: T) => T;
|
|
2994
|
-
/**
|
|
2995
|
-
* Creates a new {@link EffectWrapper} for the multiple scattering LUT
|
|
2996
|
-
* @returns The newly created {@link EffectWrapper}.
|
|
2997
|
-
*/
|
|
2998
|
-
private _createMultiScatteringEffectWrapper;
|
|
2999
3002
|
/**
|
|
3000
3003
|
* Draws the multiple scattering LUT using {@link EffectWrapper} and {@link EffectRenderer}.
|
|
3001
3004
|
*/
|
|
@@ -3036,7 +3039,7 @@ declare module ADDONS {
|
|
|
3036
3039
|
*/
|
|
3037
3040
|
bindUniformBufferToEffect(effect: BABYLON.Effect): void;
|
|
3038
3041
|
/**
|
|
3039
|
-
* Updates the atmosphere's uniform buffer.
|
|
3042
|
+
* Updates the values in the atmosphere's uniform buffer.
|
|
3040
3043
|
*/
|
|
3041
3044
|
updateUniformBuffer(): void;
|
|
3042
3045
|
/**
|
|
@@ -3051,6 +3054,34 @@ declare module ADDONS {
|
|
|
3051
3054
|
}
|
|
3052
3055
|
|
|
3053
3056
|
|
|
3057
|
+
/** @internal */
|
|
3058
|
+
export var transmittancePixelShaderWGSL: {
|
|
3059
|
+
name: string;
|
|
3060
|
+
shader: string;
|
|
3061
|
+
};
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
/** @internal */
|
|
3065
|
+
export var fullscreenTriangleVertexShaderWGSL: {
|
|
3066
|
+
name: string;
|
|
3067
|
+
shader: string;
|
|
3068
|
+
};
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
/** @internal */
|
|
3072
|
+
export var atmosphereUboDeclarationWGSL: {
|
|
3073
|
+
name: string;
|
|
3074
|
+
shader: string;
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
/** @internal */
|
|
3079
|
+
export var atmosphereFunctionsWGSL: {
|
|
3080
|
+
name: string;
|
|
3081
|
+
shader: string;
|
|
3082
|
+
};
|
|
3083
|
+
|
|
3084
|
+
|
|
3054
3085
|
/** @internal */
|
|
3055
3086
|
export var transmittancePixelShader: {
|
|
3056
3087
|
name: string;
|