Skip to content

Commit 0ae2177

Browse files
committed
Update index.d.ts
1 parent a64229a commit 0ae2177

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

types/index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9008,12 +9008,11 @@ declare module "postprocessing" {
90089008
/**
90099009
* Constructs a new noise texture.
90109010
*
9011-
* The texture format can be either `LuminanceFormat` or `RGBAFormat`. Additionally, the formats `RedFormat` and
9012-
* `RGFormat` can be used in a WebGL 2 context.
9011+
* Supported formats are `RGBAFormat`, `RedFormat` and `RGFormat`.
90139012
*
90149013
* @param {Number} width - The width.
90159014
* @param {Number} height - The height.
9016-
* @param {Number} [format=LuminanceFormat] - The texture format.
9015+
* @param {Number} [format=RedFormat] - The texture format.
90179016
* @param {Number} [type=UnsignedByteType] - The texture type.
90189017
*/
90199018
constructor(width: number, height: number, format?: number, type?: number);

0 commit comments

Comments
 (0)