File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 127127 "tiny-glob" : " 0.x.x" ,
128128 "tslib" : " 2.x.x" ,
129129 "tweakpane" : " 4.x.x" ,
130- "typescript" : " 5.8 .x"
130+ "typescript" : " 5.9 .x"
131131 }
132132}
Original file line number Diff line number Diff line change 44 * @private
55 * @param {Number } width - The image width.
66 * @param {Number } height - The image height.
7- * @param {Uint8ClampedArray|Image } data - The image data.
7+ * @param {Uint8ClampedArray<ArrayBuffer> |Image } data - The image data.
88 * @return {Canvas } The canvas.
99 */
1010
@@ -45,7 +45,7 @@ export class RawImageData {
4545 *
4646 * @param {Number } [width=0] - The width of the image.
4747 * @param {Number } [height=0] - The height of the image.
48- * @param {Uint8ClampedArray } [data=null] - The image data.
48+ * @param {Uint8ClampedArray<ArrayBuffer> } [data=null] - The image data.
4949 */
5050
5151 constructor ( width = 0 , height = 0 , data = null ) {
@@ -69,7 +69,7 @@ export class RawImageData {
6969 /**
7070 * The RGBA image data.
7171 *
72- * @type {Uint8ClampedArray }
72+ * @type {Uint8ClampedArray<ArrayBuffer> }
7373 */
7474
7575 this . data = data ;
Original file line number Diff line number Diff line change @@ -9089,9 +9089,9 @@ declare module "postprocessing" {
90899089 *
90909090 * @param {Number } [width=0] - The width of the image.
90919091 * @param {Number } [height=0] - The height of the image.
9092- * @param {Uint8ClampedArray } [data=null] - The image data.
9092+ * @param {Uint8ClampedArray<ArrayBuffer> } [data=null] - The image data.
90939093 */
9094- constructor ( width ?: number , height ?: number , data ?: Uint8ClampedArray ) ;
9094+ constructor ( width ?: number , height ?: number , data ?: Uint8ClampedArray < ArrayBuffer > ) ;
90959095 colorSpace : PredefinedColorSpace ;
90969096 /**
90979097 * The width of the image.
@@ -9108,9 +9108,9 @@ declare module "postprocessing" {
91089108 /**
91099109 * The RGBA image data.
91109110 *
9111- * @type {Uint8ClampedArray }
9111+ * @type {Uint8ClampedArray<ArrayBuffer> }
91129112 */
9113- data : Uint8ClampedArray ;
9113+ data : Uint8ClampedArray < ArrayBuffer > ;
91149114 /**
91159115 * Creates a canvas from this image data.
91169116 *
You can’t perform that action at this time.
0 commit comments