Skip to content

Commit 6fd15ee

Browse files
committed
Updated TS defs for multi-texture support.
1 parent 4057412 commit 6fd15ee

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

typescript/phaser.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference path="pixi.d.ts" />
22
/// <reference path="p2.d.ts" />
33

4-
// Type definitions for Phaser 3.0.0 - 7th September 2016
4+
// Type definitions for Phaser 3.0.0
55
// Project: https://github.com/photonstorm/phaser
66

77
declare module "phaser" {
@@ -18,6 +18,7 @@ declare class Phaser {
1818
static CANVAS: number;
1919
static WEBGL: number;
2020
static HEADLESS: number;
21+
static WEBGL_MULTI: number;
2122

2223
static BITMAPDATA: number;
2324
static BITMAPTEXT: number;
@@ -1402,6 +1403,7 @@ declare module Phaser {
14021403
seed?: string;
14031404
state?: Phaser.State;
14041405
forceSetTimeOut: boolean;
1406+
multiTextue: boolean;
14051407

14061408
}
14071409

typescript/pixi.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,7 @@ declare module PIXI {
13001300
clearBeforeRender: boolean;
13011301
width: number;
13021302
height: number;
1303+
currentBatchedTextures: string[];
13031304
view: HTMLCanvasElement;
13041305
projection: Point;
13051306
offset: Point;
@@ -1318,6 +1319,7 @@ declare module PIXI {
13181319
updateTexture(texture: Texture): void;
13191320
destroy(): void;
13201321
mapBlendModes(): void;
1322+
setTexturePriority(textureNameCollection: string[]): string[];
13211323

13221324
}
13231325

0 commit comments

Comments
 (0)