mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
25 lines
554 B
TypeScript
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);
|
|
}
|