Skip to content

Commit 30e36e8

Browse files
committed
Update postprocessing.d.ts
1 parent 091ef6f commit 30e36e8

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

types/postprocessing.d.ts

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6434,6 +6434,13 @@ declare module "postprocessing" {
64346434
* @return {KawaseBlurPass} The blur pass.
64356435
*/
64366436
getBlurPass(): KawaseBlurPass;
6437+
/**
6438+
* Sets the light source.
6439+
*
6440+
* @type {Mesh|Points}
6441+
*/
6442+
get lightSource(): Mesh | Points | null;
6443+
set lightSource(value: Mesh | Points | null);
64376444
/**
64386445
* A texture that contains the intermediate result of this effect.
64396446
*
@@ -8083,20 +8090,27 @@ declare module "postprocessing" {
80838090
);
80848091

80858092
resolution: Resolution;
8086-
set depthAwareUpsampling(arg: boolean);
8093+
/**
8094+
* Sets the normal buffer.
8095+
*
8096+
* @type {Texture}
8097+
*/
8098+
get normalBuffer(): Texture | null;
8099+
set normalBuffer(value: Texture | null);
80878100
/**
80888101
* Indicates whether depth-aware upsampling is enabled.
80898102
*
80908103
* @type {Boolean}
80918104
*/
80928105
get depthAwareUpsampling(): boolean;
8093-
set color(arg: Color);
8106+
set depthAwareUpsampling(arg: boolean);
80948107
/**
80958108
* The color of the ambient occlusion. Set to `null` to disable.
80968109
*
80978110
* @type {Color}
80988111
*/
80998112
get color(): Color;
8113+
set color(arg: Color);
81008114
/**
81018115
* Returns the resolution settings.
81028116
*
@@ -8117,30 +8131,30 @@ declare module "postprocessing" {
81178131
* @return {SSAOMaterial} The material.
81188132
*/
81198133
getSSAOMaterial(): SSAOMaterial;
8120-
set samples(arg: number);
81218134
/**
81228135
* The amount of occlusion samples per pixel.
81238136
*
81248137
* @type {Number}
81258138
* @deprecated Use ssaoMaterial.samples instead.
81268139
*/
81278140
get samples(): number;
8128-
set rings(arg: number);
8141+
set samples(arg: number);
81298142
/**
81308143
* The amount of spiral turns in the occlusion sampling pattern.
81318144
*
81328145
* @type {Number}
81338146
* @deprecated Use ssaoMaterial.rings instead.
81348147
*/
81358148
get rings(): number;
8136-
set radius(arg: number);
8149+
set rings(arg: number);
81378150
/**
81388151
* The occlusion sampling radius.
81398152
*
81408153
* @type {Number}
81418154
* @deprecated Use ssaoMaterial.radius instead.
81428155
*/
81438156
get radius(): number;
8157+
set radius(arg: number);
81448158
/**
81458159
* The intensity.
81468160
*
@@ -8162,14 +8176,14 @@ declare module "postprocessing" {
81628176
* @param {Boolean} value - Whether depth-aware upsampling should be enabled.
81638177
*/
81648178
setDepthAwareUpsamplingEnabled(value: boolean): void;
8165-
set distanceScaling(arg: boolean);
81668179
/**
81678180
* Indicates whether distance-based radius scaling is enabled.
81688181
*
81698182
* @type {Boolean}
81708183
* @deprecated Use ssaoMaterial.distanceScaling instead.
81718184
*/
81728185
get distanceScaling(): boolean;
8186+
set distanceScaling(arg: boolean);
81738187
/**
81748188
* Returns the color of the ambient occlusion.
81758189
*

0 commit comments

Comments
 (0)