diff --git a/bundles/pixi.js/pixi.js.d.ts b/bundles/pixi.js/pixi.js.d.ts index 49f2136..ea5e6c0 100644 --- a/bundles/pixi.js/pixi.js.d.ts +++ b/bundles/pixi.js/pixi.js.d.ts @@ -3182,7 +3182,7 @@ static from(source: any, options: IBaseTextureOptions): BaseTexture; - static fromBuffer(buffer: Float32Array | Uint8Array | Uint32Array, width: number, height: number, options: IBaseTextureOptions): BaseTexture; + static fromBuffer(buffer: Float32Array | Uint8Array | Uint32Array, width: number, height: number, options?: IBaseTextureOptions): BaseTexture; static addToCache(baseTexture: BaseTexture, id: string): void; @@ -3278,7 +3278,7 @@ static from(source: number | string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | BaseTexture): Texture; - static fromBuffer(buffer: Float32Array | Uint8Array | Uint32Array, width: number, height: number, options: IBaseTextureOptions): Texture; + static fromBuffer(buffer: Float32Array | Uint8Array | Uint32Array, width: number, height: number, options?: IBaseTextureOptions): Texture; static fromLoader(source: HTMLImageElement | HTMLCanvasElement, imageUrl: string, name?: string): Texture;