phaser/v3/typings/textures/TextureSource.d.ts
2017-01-16 22:43:07 +01:00

25 lines
554 B
TypeScript

/**
*
* @class Phaser.TextureSource
* @constructor
* @param {object} source
* @param {number} scaleMode
*/
export default class TextureSource {
texture: any;
compressionAlgorithm: any;
resolution: number;
readonly width: number;
readonly height: number;
image: any;
scaleMode: any;
premultipliedAlpha: boolean;
mipmap: boolean;
renderable: boolean;
isPowerOf2: boolean;
glTexture: any;
glTextureIndex: number;
glLastUsed: number;
glDirty: boolean;
constructor(texture: any, source: any);
}